From 5a30b4e3f1bbaff61dac3cf3d51773997e9cb76e Mon Sep 17 00:00:00 2001 From: Rishabh Date: Thu, 25 Feb 2021 20:01:48 +0530 Subject: [PATCH] Configurable mongo port (#76) --- .../src/main/resources/configs/common/application.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/attribute-service/src/main/resources/configs/common/application.conf b/attribute-service/src/main/resources/configs/common/application.conf index 0c3f4bc5..61f55ccd 100644 --- a/attribute-service/src/main/resources/configs/common/application.conf +++ b/attribute-service/src/main/resources/configs/common/application.conf @@ -7,6 +7,7 @@ document.store { host = localhost host = ${?MONGO_HOST} # provides a way to override the mongo_host via an environment variable port = 27017 + port = ${?MONGO_PORT} } } attributes.type.server.port = 9012