Advertisement
Guest User

Untitled

a guest
Aug 16th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. scope: postgres
  2. namespace: /jira_1/
  3. name: jr-conf-app-01
  4.  
  5. restapi:
  6. listen: 10.200.19.50:8008
  7. connect_address: 10.200.19.50:8008
  8.  
  9. etcd:
  10. hosts: 10.200.19.50:2379,10.200.19.51:2379
  11.  
  12. bootstrap:
  13. dcs:
  14. ttl: 30
  15. loop_wait: 10
  16. retry_timeout: 10
  17. maximum_lag_on_failover: 1024
  18. postgresql:
  19. use_pg_rewind: true
  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 replication replicator 10.200.19.50/0 md5
  28. - host replication replicator 10.200.19.51/0 md5
  29. - host all all 0.0.0.0/0 md5
  30.  
  31. # users:
  32. # admin:
  33. # password: admin
  34. # options:
  35. # - createrole
  36. # - createdb
  37.  
  38. postgresql:
  39. listen: 0.0.0.0:5432
  40. connect_address: 10.200.19.50:5432
  41. data_dir: /data/patroni
  42. pgpass: /tmp/pgpass
  43. bin_dir: /usr/pgsql-9.6/bin
  44. authentication:
  45. replication:
  46. username: replicator
  47. password: rep-pass
  48. superuser:
  49. username: postgres
  50. password: '1234'
  51. parameters:
  52. unix_socket_directories: '.'
  53.  
  54. tags:
  55. nofailover: false
  56. noloadbalance: false
  57. clonefrom: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement