From 0f550bbf9df3db3e42e559353d0eec392d7d087f Mon Sep 17 00:00:00 2001 From: MartinAAcebeyL Date: Sun, 1 Sep 2024 12:42:45 -0400 Subject: [PATCH] chore: Update POSTGRES_PORT in compose.base.yaml --- containers/compose.base.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/containers/compose.base.yaml b/containers/compose.base.yaml index 8850de3..5789bd3 100644 --- a/containers/compose.base.yaml +++ b/containers/compose.base.yaml @@ -16,7 +16,7 @@ services: POSTGRES_USER: ${POSTGRES_USER:-postgres-admin} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-1kdis94id} POSTGRES_HOST: ${POSTGRES_HOST:-growthplan-postgres} - POSTGRES_PORT: ${POSTGRES_HOST:-5432} + POSTGRES_PORT: ${POSTGRES_PORT:-5432} POSTGRES_DBNAME: ${POSTGRES_DBNAME:-postgres} ENV: ${ENV:-dev} depends_on: @@ -31,9 +31,11 @@ services: POSTGRES_USER: ${POSTGRES_USER:-postgres-admin} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-1kdis94id} POSTGRES_HOST: ${POSTGRES_HOST:-growthplan-postgres} - POSTGRES_PORT: ${POSTGRES_HOST:-5432} + POSTGRES_PORT: ${POSTGRES_PORT:-5432} volumes: - growthplandb:/var/lib/postgresql/data + ports: + - "0.0.0.0:${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}" volumes: growthplandb: