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

rename property

parent d14859a4
FROM openjdk:11
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 && \
sed -ie "s/^db.host=.*/db.host=$MONOG_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 && \
java -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=$MONOG_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 && \
# java -jar drip-manager-3.0.0.jar
......@@ -17,4 +17,4 @@ db.name=drip
db.username=drip-user
db.password=drip-pass
sure-tosca.base.path=http://localhost:8081/tosca-sure/1.0.0
sure_tosca.base.path=http://localhost:8081/tosca-sure/1.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