Commit 2725dc46 authored by Christopher Reis's avatar Christopher Reis

Change to RabitMQ server

parent 5385fa75
...@@ -4,14 +4,23 @@ gmbolt: ...@@ -4,14 +4,23 @@ gmbolt:
ports: ports:
- "5000" - "5000"
rabbitmq:
restart: always
image: rabbitmq:3-management
ports:
- "80:15672"
- "5672"
gmsub: gmsub:
restart: always restart: always
build: ./gmsec_sub build: ./gmsec_sub
links: links:
- gmbolt:gmbolt - gmbolt:gmbolt
- rabbitmq
gmpub: gmpub:
restart: always restart: always
build: ./gmsec_pub build: ./gmsec_pub
links: links:
- gmbolt:gmbolt - gmbolt:gmbolt
- rabbitmq
############################ ############################
#Docker file for GMSEC pub #Docker file for GMSEC Publish
# #
############################ ############################
FROM ubuntu:latest FROM chrisreis53/gmsec_node:1-sub_pub_only
MAINTAINER Christopher Reis "chrisreis53@gmail.com" MAINTAINER Christopher Reis "chrisreis53@gmail.com"
EXPOSE 5000 EXPOSE 5000
EXPOSE 80 EXPOSE 80
WORKDIR / WORKDIR /code
RUN apt-get update RUN apt-get update
RUN apt-get install -y wget default-jre default-jdk python2.7 cmake uuid-dev
#Install GMSEC Libraries
RUN mkdir /GMSEC_API
RUN cd /GMSEC_API
RUN wget https://sourceforge.net/projects/gmsec/files/GMSEC%20API%204.2/GMSEC_API-4.2-RH7_x86_64.tar.gz
RUN tar -zxvf GMSEC_API-4.2-RH7_x86_64.tar.gz
#Install AMQP Required Library (this is dumb, need to contact NASA to update libs)
RUN wget http://archive.apache.org/dist/qpid/proton/0.9.1/qpid-proton-0.9.1.tar.gz
RUN tar -xf qpid-proton-0.9.1.tar.gz
RUN cd qpid-proton-0.9.1-rc1/
RUN mkdir build && cd build
WORKDIR /qpid-proton-0.91-rc1/build/
RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_BINDINGS=ON -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7; exit 0
RUN make install
ADD .bashrc ~/.bashrc
ENV LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/ ENV LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
......
############################ ############################
#Docker file for GMSEC Bolt #Docker file for GMSEC Subscribe
# #
############################ ############################
FROM ubuntu:latest FROM chrisreis53/gmsec_node:1-sub_pub_only
MAINTAINER Christopher Reis "chrisreis53@gmail.com" MAINTAINER Christopher Reis "chrisreis53@gmail.com"
EXPOSE 5000 EXPOSE 5000
...@@ -10,24 +10,6 @@ EXPOSE 80 ...@@ -10,24 +10,6 @@ EXPOSE 80
WORKDIR /code WORKDIR /code
RUN apt-get update RUN apt-get update
RUN apt-get install -y wget default-jre default-jdk python2.7 cmake uuid-dev
#Install GMSEC Libraries
RUN mkdir /GMSEC_API
RUN cd /GMSEC_API
RUN wget https://sourceforge.net/projects/gmsec/files/GMSEC%20API%204.2/GMSEC_API-4.2-RH7_x86_64.tar.gz
RUN tar -zxvf GMSEC_API-4.2-RH7_x86_64.tar.gz
#Install AMQP Required Library (this is dumb, need to contact NASA to update libs)
RUN wget http://archive.apache.org/dist/qpid/proton/0.9.1/qpid-proton-0.9.1.tar.gz
RUN tar -xf qpid-proton-0.9.1.tar.gz
RUN cd qpid-proton-0.9.1-rc1/
RUN mkdir build && cd build
WORKDIR /qpid-proton-0.91-rc1/build/
RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_BINDINGS=ON -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7; exit 0
RUN make install
ADD .bashrc ~/.bashrc
ENV LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/ ENV LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment