aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/resources/application.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index fddcec0..ef9d623 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,6 +1,6 @@
server.port=5000
templates.dir=/app/templates
-spring.data.mongodb.host=mongo
+spring.data.mongodb.host=${MONGO_HOSTNAME:mongo}
spring.data.mongodb.port=27017
spring.data.mongodb.username=pnf_simulator_user
spring.data.mongodb.password=zXcVbN123!