Commit 3a57f3e2 authored by Spiros Koulouzis's avatar Spiros Koulouzis

simple start script

parent 2b91175d
...@@ -9,4 +9,4 @@ RUN pip3 install --no-cache-dir -r requirements.txt ...@@ -9,4 +9,4 @@ RUN pip3 install --no-cache-dir -r requirements.txt
COPY . /usr/src/app COPY . /usr/src/app
CMD ["python3 __main__.py $RABBITMQ_HOST planner"] CMD python3 __main__.py $RABBITMQ_HOST planner
...@@ -6,11 +6,11 @@ sudo docker start mongo-inst ...@@ -6,11 +6,11 @@ sudo docker start mongo-inst
sleep 2 sleep 2
sudo docker start some-rabbit sudo docker start some-rabbit
sleep 2 sleep 2
sudo docker run -d sure-tosca:3.0.0 sudo docker run -d alogo53/sure-tosca:3.0.0
sleep 6 sleep 6
sudo docker run -e MONGO_HOST=172.17.0.2 -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH='http\:\/\/172.17.0.4\/8081\/tosca-sure\/1.0.0\/' -p 8085:8080 -d alogo53/drip-manager:3.0.0 sudo docker run -e MONGO_HOST=172.17.0.2 -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH='http\:\/\/172.17.0.4\/8081\/tosca-sure\/1.0.0\/' -p 8085:8080 -d alogo53/drip-manager:3.0.0
sudo docker run -it -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH='http\:\/\/172.17.0.4\/8081\/tosca-sure\/1.0.0\/' drip-planner:3.0.0 sudo docker run -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH='http\:\/\/172.17.0.4\/8081\/tosca-sure\/1.0.0\/' -d alogo53/drip-planner:3.0.0
# sudo docker run -it -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH='http\:\/\/172.17.0.4\/8081\/tosca-sure\/1.0.0\/' alogo53/drip-provisioner:3.0.0 sudo docker run -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH='http\:\/\/172.17.0.4\/8081\/tosca-sure\/1.0.0\/' -d alogo53/drip-provisioner:3.0.0
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