Force port binding to 0.0.0.0 for external access

This commit is contained in:
João Pedro Toledo Goncalves 2026-02-03 12:46:08 -03:00
parent cea9ca5089
commit b77b6689f0
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ services:
# Allow connections from any host # Allow connections from any host
POSTGRES_HOST_AUTH_METHOD: scram-sha-256 POSTGRES_HOST_AUTH_METHOD: scram-sha-256
ports: ports:
- "15432:5432" - "0.0.0.0:15432:5432"
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
command: > command: >