use variables for a variable path

This commit is contained in:
Philip Henning 2024-12-10 15:43:29 +01:00
parent 3b9794fdd1
commit 4a9c318743

View file

@ -148,7 +148,7 @@ services:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
environment:
PRE_COMMANDS: |-
cd /\${RESTIC_TAG}/
cd /${RESTIC_TAG}/
[[ $($(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
#RUN_ON_STARTUP: "true"