fix: review postgres on multiple iface

This commit is contained in:
Clément Désiles
2025-11-11 11:11:47 +01:00
parent e692d4df98
commit 9f3e920d7d
5 changed files with 52 additions and 38 deletions
+3 -3
View File
@@ -13,12 +13,12 @@ postgres_admin_user: postgres
postgres_data_dir: /var/lib/postgres/data
# Binding address(es)
postgres_listen_addresses: "127.0.0.1,{{ podman_subnet_gateway | default('10.88.0.1' }}"
# example: postgres_bind: "127.0.0.1,10.89.0.1"
postgres_bind: "127.0.0.1"
# Firewall configuration
postgres_firewall_allowed_sources:
- 127.0.0.0/8 # Localhost
- "{{ podman_subnet | default('10.88.0.0/16') }}" # Podman bridge network
- 127.0.0.0/8
# Performance tuning (adjust based on your hardware)
postgres_shared_buffers: 256MB