use variables for a variable path
This commit is contained in:
parent
3b9794fdd1
commit
4a9c318743
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ services:
|
||||||
image: registry.git.base23.de/base23/backup/resticker:0.17.0
|
image: registry.git.base23.de/base23/backup/resticker:0.17.0
|
||||||
environment:
|
environment:
|
||||||
PRE_COMMANDS: |-
|
PRE_COMMANDS: |-
|
||||||
cd /\${RESTIC_TAG}/
|
cd /${RESTIC_TAG}/
|
||||||
[[ $($(docker compose &>/dev/null); echo "$?") -eq 0 ]] || apk add --no-cache docker-cli-compose
|
[[ $($(docker compose &>/dev/null); echo "$?") -eq 0 ]] || apk add --no-cache docker-cli-compose
|
||||||
docker compose exec -T postgresql pg_dump -U ${PG_USER:-authentik} -d ${PG_DB:-authentik} -f /var/lib/postgresql/backups/${PG_DB:-authentik}.sql
|
docker compose exec -T postgresql pg_dump -U ${PG_USER:-authentik} -d ${PG_DB:-authentik} -f /var/lib/postgresql/backups/${PG_DB:-authentik}.sql
|
||||||
#RUN_ON_STARTUP: "true"
|
#RUN_ON_STARTUP: "true"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue