Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/solutions/ha-patroni.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ bootstrap:
archive_timeout: 600s
archive_command: "cp -f %p /home/postgres/archived/%f"

pg_hba: # Add following lines to pg_hba.conf after running 'initdb'
pg_hba: # Add following lines to pg_hba.conf after running 'initdb'
- host replication replicator 127.0.0.1/32 trust
- host replication replicator 0.0.0.0/0 md5
- host all all 0.0.0.0/0 md5
- host all all ::0/0 md5
recovery_conf:
restore_command: cp /home/postgres/archived/%f %p
recovery_conf:
restore_command: cp /home/postgres/archived/%f %p

# some desired options for 'initdb'
initdb: # Note: It needs to be a list (some options need values, others are switches)
Expand Down