Commit a100a76d authored by Spiros Koulouzis's avatar Spiros Koulouzis

fix wrong var name

parent 54572ceb
......@@ -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 && \
sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" BOOT-INF/classes/application.properties && \
sed -ie "s/^db.host=.*/db.host=$MONO_HOST/" BOOT-INF/classes/application.properties && \
sed -ie "s/^db.host=.*/db.host=$MONGO_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 && \
cat BOOT-INF/classes/application.properties && \
jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
......
......@@ -8,7 +8,7 @@ docker start some-rabbit
sleep 2
docker run -d sure-tosca:3.0.0
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 drip-manager:3.0.0
docker run -it -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 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
......
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