feat: Configure replication from postgres collection

This commit is contained in:
Oleksandr Stepanov
2024-11-20 16:37:33 +01:00
parent 10ea272736
commit dac0b0cc80
5 changed files with 43 additions and 2 deletions

View File

@ -44,8 +44,6 @@ services:
env_file:
- postgres.env
{% if enable_postgres_replication %}
environment:
POSTGRES_HOST_AUTH_METHOD: "host replication replicator {{ postgres_replica_address }}/32 md5"
ports:
- "{{ postgres_replication_bind_address }}:5432:5432"
{% endif %}