patroni/defaults/main.yaml
2023-02-20 15:10:53 +03:00

38 lines
915 B
YAML

# Patroni common options
patroni_version: "3.0.0"
patroni_install_repo: true
# Patroni cluster options
patroni_cluster_name: "patroni-cluster"
patroni_namespace: "/service/"
# Patroni PostgreSQL common options
patroni_postgresql_version: "15.2"
patroni_postgresql_install_repo: true
# 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: false
patroni_ssl_path: "/etc/patroni/ssl"
patroni_self_signed_cert: false
patroni_self_signed_cert_name: "cert"
## DCS options. Consul or Etcd
patroni_dcs_exists: false
patroni_dcs_type: "consul"
## Backup options
patroni_wal_g_install: false