summaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-01-28 13:22:33 +0000
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-01-28 13:22:33 +0000
commit73d588691b67c4e3981a32190adfbcd09e889f23 (patch)
treedbce03bd635ba798bfe6d4b671d0c2bb2c1f75bf /docker-compose
parenta5ce86d02493f141848f9d609c65883d2198894a (diff)
Database port not configurable through env variable
Issue-ID: CPS-867 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1f5e00c6b814a5ba087ba0cc1832152b2317ad57
Diffstat (limited to 'docker-compose')
-rwxr-xr-xdocker-compose/docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index d0a157e890..44ebd3bc69 100755
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -89,7 +89,7 @@ services:
container_name: dbpostgresql
image: postgres:13.2-alpine
ports:
- - '5432:5432'
+ - ${DB_PORT:-5432}:5432
environment:
POSTGRES_DB: cpsdb
POSTGRES_USER: ${DB_USERNAME:-cps}