status-db: enable backups only on production
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1a5a25501e
commit
b6b26c43cb
|
@ -2,13 +2,16 @@
|
|||
postgres_ha_service_name: 'nim-waku-db'
|
||||
postgres_ha_cont_image: 'postgres:15.1-alpine'
|
||||
postgres_ha_cont_port: 5432
|
||||
|
||||
# Config
|
||||
postgres_ha_is_master: true
|
||||
postgres_ha_replica_enabled: false
|
||||
|
||||
# Backup
|
||||
postgres_ha_backup: '{{ stage == "prod" }}'
|
||||
postgres_ha_backup_enabled: '{{ stage == "prod" }}'
|
||||
# Admin
|
||||
postgres_ha_admin_user: 'postgres'
|
||||
postgres_ha_admin_pass: '{{lookup("bitwarden", "fleets/status/"+stage+"/db/admin")}}'
|
||||
|
||||
# Databases
|
||||
postgres_ha_databases:
|
||||
- name: 'nim-waku'
|
||||
user: 'nim-waku'
|
||||
|
|
|
@ -36,5 +36,5 @@
|
|||
|
||||
- name: infra-role-postgres-ha
|
||||
src: git@github.com:status-im/infra-role-postgres-ha.git
|
||||
version: 90fe472bcb91730846294f56c53b19a9857ae07a
|
||||
version: c647a9f57deb791f1be724fe768be7bc9bf64921
|
||||
scm: git
|
||||
|
|
Loading…
Reference in New Issue