fix installing docker-compose

This commit is contained in:
Philip Henning 2024-11-25 15:27:53 +01:00
parent cba76b13fc
commit 411a447b49

View file

@ -148,7 +148,7 @@ services:
image: registry.git.base23.de/base23/backup/resticker:0.11.0 image: registry.git.base23.de/base23/backup/resticker:0.11.0
environment: environment:
PRE_COMMANDS: |- PRE_COMMANDS: |-
[[ ! $(which docker-compose) ]] apk add --update --no-cache docker-compose [[ ! $(which docker-compose) ]] && apk add --update --no-cache docker-compose
cd /sso.base23.de/ cd /sso.base23.de/
docker-compose exec postgresql pg_dump -U ${PG_USER:-authentik} -d ${PG_DB:-authentik} -f /var/lib/postgresql/backups/${PG_DB:-authentik}.sql docker-compose exec 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"