Pin dda-backup to 1.0.5
This commit is contained in:
parent
a9fab1d963
commit
1e9cd59b50
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM domaindrivenarchitecture/dda-backup
|
FROM domaindrivenarchitecture/dda-backup:1.0.5
|
||||||
|
|
||||||
# Prepare Entrypoint Script
|
# Prepare Entrypoint Script
|
||||||
ADD resources /tmp
|
ADD resources /tmp
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -xo pipefail
|
set -o pipefail
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@ function main() {
|
||||||
file_env POSTGRES_DB
|
file_env POSTGRES_DB
|
||||||
file_env POSTGRES_PASSWORD
|
file_env POSTGRES_PASSWORD
|
||||||
file_env POSTGRES_USER
|
file_env POSTGRES_USER
|
||||||
file_env RESTIC_DAYS_TO_KEEP 14
|
file_env RESTIC_DAYS_TO_KEEP 30
|
||||||
|
file_env RESTIC_MONTHS_TO_KEEP 12
|
||||||
|
|
||||||
backup-roles 'oc_'
|
backup-roles 'oc_'
|
||||||
backup-db-dump
|
backup-db-dump
|
||||||
|
|
Loading…
Reference in a new issue