- Added role to setup https://github.com/prodrigestivill/docker-postgres-backup-local container to backup all postgres databases

This commit is contained in:
foxcris
2021-02-11 17:18:25 +01:00
parent 96e6111aa6
commit 0fe6352cf7
10 changed files with 572 additions and 0 deletions

@ -0,0 +1,12 @@
#jinja2: lstrip_blocks: "True"
POSTGRES_USER={{ matrix_postgres_connection_username }}
POSTGRES_PASSWORD={{ matrix_postgres_connection_password }}
POSTGRES_HOST={{ matrix_postgres_connection_hostname }}
POSTGRES_DB={{ matrix_postgres_backup_db_list }}
POSTGRES_EXTRA_OPTS={{ matrix_postgres_backup_extra_opts }}
SCHEDULE={{ matrix_postgres_backup_schedule }}
BACKUP_KEEP_DAYS={{ matrix_postgres_backup_keep_days }}
BACKUP_KEEP_WEEKS={{ matrix_postgres_backup_keep_weeks }}
BACKUP_KEEP_MONTHS={{ matrix_postgres_backup_keep_months }}
HEALTHCHECK_PORT={{ matrix_postgres_backup_healthcheck_port }}
POSTGRES_PORT={{ matrix_postgres_connection_port }}