patroni/defaults/main.yaml

38 lines
901 B
YAML
Raw Normal View History

2023-02-07 23:39:20 +00:00
# Patroni common options
patroni_version: "2.1.7"
patroni_install_repo: yes
# Patroni cluster options
patroni_cluster_name: "patroni-cluster"
patroni_namespace: "/service/"
# Patroni PostgreSQL common options
patroni_postgresql_version: "14.6"
patroni_postgresql_install_repo: yes
# 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
patroni_ssl: no
patroni_ssl_path: "/etc/patroni/ssl"
patroni_self_signed_cert: no
patroni_self_signed_cert_name: "cert"
## DCS options. Consul or Etcd
patroni_dcs_exists: no
patroni_dcs_type: "consul"
## Backup options
patroni_wal_g_install: no