Commit 54572ceb authored by Spiros Koulouzis's avatar Spiros Koulouzis

fix wrong var name

parent 618009e6
...@@ -3,7 +3,7 @@ COPY target/drip-manager-3.0.0.jar drip-manager-3.0.0.jar ...@@ -3,7 +3,7 @@ COPY target/drip-manager-3.0.0.jar drip-manager-3.0.0.jar
CMD jar -xf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \ CMD jar -xf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" BOOT-INF/classes/application.properties && \ sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" BOOT-INF/classes/application.properties && \
sed -ie "s/^db.host=.*/db.host=$MONO_GHOST/" BOOT-INF/classes/application.properties && \ sed -ie "s/^db.host=.*/db.host=$MONO_HOST/" BOOT-INF/classes/application.properties && \
sed -ie "s/^sure_tosca.base.path=.*/sure_tosca.base.path=$SURE_TOSCA_BASE_PATH/" BOOT-INF/classes/application.properties && \ sed -ie "s/^sure_tosca.base.path=.*/sure_tosca.base.path=$SURE_TOSCA_BASE_PATH/" BOOT-INF/classes/application.properties && \
cat BOOT-INF/classes/application.properties && \ cat BOOT-INF/classes/application.properties && \
jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \ jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
......
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
sudo docker stop $(sudo docker ps -q) sudo docker stop $(sudo docker ps -q)
docker start mongo-inst docker start mongo-inst
sleep 1 sleep 2
docker start some-rabbit docker start some-rabbit
sleep 1 sleep 2
docker run -d alogo53/sure-tosca:3.0.0 docker run -d sure-tosca:3.0.0
sleep 5 sleep 6
docker run -it -e MONOG_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 8080:8080 alogo53/drip-manager:3.0.0 docker run -it -e MONOG_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 8080:8080 drip-manager:3.0.0
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/ -p 8080:8080 alogo53/drip-planner:3.0.0 # 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/ -p 8080:8080 alogo53/drip-planner:3.0.0
#
#
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/ -p 8080:8080 alogo53/drip-provisioner:3.0.0 # 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/ -p 8080:8080 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