Created
November 1, 2016 08:22
-
-
Save bixu/c909aa09299a345fa14f1247e55f17eb to your computer and use it in GitHub Desktop.
Use Habitat to create a Postgres replica
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
standby_mode = "on" | |
primary_conninfo_host = "postgres.primary.tld" | |
primary_conninfo_port = 5432 | |
initdb_superuser_name = "postgres" | |
initdb_superuser_password = "password" | |
primary_conninfo_user = "postgres" | |
primary_conninfo_password = "password" | |
trigger_file = "/hab/svc/postgresql9.4/data/failover_trigger_file" | |
initdb_encoding = "en_US.UTF-8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment