55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
scope: objectstore-ha-test
|
|
namespace: /objectstore-test/
|
|
restapi:
|
|
listen: 0.0.0.0:8008
|
|
authentication:
|
|
username: operator
|
|
password: ha-test-rest-password
|
|
etcd3:
|
|
hosts: etcd-a:2379,etcd-b:2379,etcd-c:2379
|
|
bootstrap:
|
|
dcs:
|
|
ttl: 20
|
|
loop_wait: 2
|
|
retry_timeout: 3
|
|
primary_start_timeout: 0
|
|
primary_stop_timeout: 5
|
|
synchronous_mode: true
|
|
synchronous_mode_strict: true
|
|
synchronous_node_count: 1
|
|
failsafe_mode: false
|
|
postgresql:
|
|
use_pg_rewind: true
|
|
parameters:
|
|
synchronous_commit: "on"
|
|
password_encryption: scram-sha-256
|
|
shared_buffers: 32MB
|
|
max_connections: 64
|
|
max_wal_size: 128MB
|
|
min_wal_size: 32MB
|
|
wal_keep_size: 64MB
|
|
max_slot_wal_keep_size: 128MB
|
|
initdb:
|
|
- encoding: UTF8
|
|
- data-checksums
|
|
post_bootstrap: /usr/local/bin/bootstrap-objectstore
|
|
postgresql:
|
|
listen: 0.0.0.0:5432
|
|
data_dir: /var/lib/postgresql/data/pgdata
|
|
pgpass: /tmp/pgpass
|
|
basebackup:
|
|
checkpoint: fast
|
|
authentication:
|
|
superuser:
|
|
username: postgres
|
|
password: ha-test-superuser-password
|
|
replication:
|
|
username: replicator
|
|
password: ha-test-replication-password
|
|
pg_hba:
|
|
- local all all trust
|
|
- host replication replicator all scram-sha-256
|
|
- host all all all scram-sha-256
|
|
watchdog:
|
|
mode: "off"
|