@softvisio/core
Version:
Softisio core
52 lines (40 loc) • 1.23 kB
YAML
dependencies: ~
optionalDependencies:
- nginxUpstream
config:
mode: primary
clusterName: main
dataDir: ~
access:
- { host: local, database: all, user: all, address: ~, auth-method: trust, auth-options: ~ }
- { host: local, database: replication, user: replication, address: ~, auth-method: trust, auth-options: ~ }
- { host: host, database: replication, user: replication, address: 0.0.0.0/0, auth-method: scram-sha-256, auth-options: ~ }
- { host: host, database: all, user: all, address: 0.0.0.0/0, auth-method: scram-sha-256, auth-options: ~ }
backup:
enabled: false
pitrEnabled: true
hostname: postgresql-backup
maxAge: 1 week
incrementalBackupInterval: 1 day
replication:
port: 5432
username: replication
password: ~
primary:
hostname: postgresql
sync:
hostname: postgresql-sync
numberOfStandbys: 0
async:
replicateFrom: sync
settings:
maintenance_work_mem: 512 MB
shared_preload_libraries: ~ # [ timescaledb ]
# log
log_checkpoints: false
log_line_prefix: "[%t] "
nginx:
enabled: false
port: 5432
serverNames: ~
defaultServer: false # true - to accept non-ssl connections