patroni/defaults/main.yaml

38 lines
915 B
YAML
Raw Normal View History

2023-02-07 23:39:20 +00:00
# Patroni common options
2023-02-20 12:08:07 +00:00
patroni_version: "3.0.0"
patroni_install_repo: true
2023-02-07 23:39:20 +00:00
# Patroni cluster options
patroni_cluster_name: "patroni-cluster"
patroni_namespace: "/service/"
# Patroni PostgreSQL common options
2023-02-20 12:10:53 +00:00
patroni_postgresql_version: "15.2"
2023-02-20 12:08:07 +00:00
patroni_postgresql_install_repo: true
2023-02-07 23:39:20 +00:00
# Patroni superuser auth
patroni_superuser_username: "postgres"
patroni_superuser_password: "postgres"
# Patroni replication auth
patroni_replication_username: "replicator"
patroni_replication_password: "replicator"
# Patroni REST API options
patroni_restapi_username: "admin"
patroni_restapi_password: "admin"
patroni_restapi_listen_port: 8008
# Patroni SSL options
2023-02-20 12:08:07 +00:00
patroni_ssl: false
2023-02-07 23:39:20 +00:00
patroni_ssl_path: "/etc/patroni/ssl"
2023-02-20 12:08:07 +00:00
patroni_self_signed_cert: false
2023-02-07 23:39:20 +00:00
patroni_self_signed_cert_name: "cert"
## DCS options. Consul or Etcd
2023-02-20 12:08:07 +00:00
patroni_dcs_exists: false
2023-02-07 23:39:20 +00:00
patroni_dcs_type: "consul"
## Backup options
2023-02-20 12:08:07 +00:00
patroni_wal_g_install: false