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: