Files
api/deploy/replicas.env.example
T

7 lines
371 B
Bash
Raw Normal View History

# Copy to deploy/replicas.env on the publisher host (gitignored — holds passwords).
#
# Every logical-replication subscriber of superadmin_pub, space/comma/newline separated.
# The user must be able to run ALTER TABLE (table owner or superuser).
REPLICA_DSNS="postgresql://USER:PASSWORD@SLAVE_1_IP:5433/superadmin
postgresql://USER:PASSWORD@SLAVE_2_IP:5432/superadmin"