Commit 791e547b authored by Spiros Koulouzis's avatar Spiros Koulouzis

escape chars in url

parent 3f41ed96
FROM openjdk:11 FROM openjdk:11
COPY target/drip-manager-3.0.0.jar drip-manager-3.0.0.jar COPY target/drip-manager-3.0.0.jar drip-manager-3.0.0.jar
CMD tail -f /dev/null 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 && \
# CMD jar -xf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \ sed -ie "s/^db.host=.*/db.host=$MONO_GHOST/" BOOT-INF/classes/application.properties && \
# sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_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/^db.host=.*/db.host=$MONOG_HOST/" BOOT-INF/classes/application.properties && \ cat 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 && \ jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
# cat BOOT-INF/classes/application.properties && \ java -jar drip-manager-3.0.0.jar
# jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
# java -jar drip-manager-3.0.0.jar
...@@ -8,4 +8,4 @@ docker start some-rabbit ...@@ -8,4 +8,4 @@ docker start some-rabbit
sleep 1 sleep 1
docker run -d alogo53/sure-tosca:3.0.0 docker run -d alogo53/sure-tosca:3.0.0
sleep 5 sleep 5
docker run -it -e MONOG_HOST=172.17.0.2 -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH=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 alogo53/drip-manager: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