Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. scope: alf
  2. name: pg1
  3.  
  4. restapi:
  5. listen: 127.0.0.1:8008
  6. connect_address: 127.0.0.1:8008
  7.  
  8. etcd:
  9. host: 127.0.0.1:2379
  10.  
  11. bootstrap:
  12. dcs:
  13. ttl: 30
  14. loop_wait: 10
  15. retry_timeout: 10
  16. maximum_lag_on_failover: 1048576
  17. postgresql:
  18. use_pg_rewind: true
  19. parameters:
  20.  
  21. initdb:
  22. - encoding: UTF8
  23. - data-checksums
  24.  
  25. pg_hba:
  26. - host replication replicator 127.0.0.1/32 md5
  27. - host all all 0.0.0.0/0 md5
  28.  
  29. users:
  30. admin:
  31. password: admin
  32. options:
  33. - createrole
  34. - createdb
  35.  
  36. postgresql:
  37. listen: 127.0.0.1:5432
  38. connect_address: 127.0.0.1:5432
  39. data_dir: data/postgresql0
  40. pgpass: /tmp/pgpass0
  41. authentication:
  42. replication:
  43. username: replicator
  44. password: rep-pass
  45. superuser:
  46. username: postgres
  47. password: zalando
  48. parameters:
  49. unix_socket_directories: '.'
  50.  
  51. tags:
  52. nofailover: false
  53. noloadbalance: false
  54. clonefrom: false
  55. nosync: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement