Force IPv4 binding with listen_addresses=0.0.0.0

This commit is contained in:
João Pedro Toledo Goncalves 2026-02-03 13:00:17 -03:00
parent 66ceb7df7b
commit d34edc65db
1 changed files with 1 additions and 2 deletions

View File

@ -11,13 +11,12 @@ services:
POSTGRES_PASSWORD: PralogLocal2026!Secure
POSTGRES_DB: global
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
# Use host network directly - no port isolation
network_mode: host
volumes:
- postgres_data:/var/lib/postgresql/data
command: >
postgres
-c listen_addresses='*'
-c listen_addresses='0.0.0.0'
-c port=15432
volumes: