all restart policies for backup container

This commit is contained in:
Philip Henning 2025-02-03 11:27:40 +01:00
parent 259cb76cc1
commit b7ebd15d83
2 changed files with 5 additions and 1 deletions

View file

@ -150,6 +150,7 @@ services:
backup:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
restart: unless-stopped
environment:
PRE_COMMANDS: |-
cd /compose-project/
@ -182,6 +183,7 @@ services:
prune-backup:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
restart: unless-stopped
environment:
SKIP_INIT: "true"
RUN_ON_STARTUP: "false"

View file

@ -117,6 +117,7 @@ services:
backup:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
restart: unless-stopped
environment:
PRE_COMMANDS: |-
cd /compose-project/
@ -149,6 +150,7 @@ services:
prune-backup:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
restart: unless-stopped
environment:
SKIP_INIT: "true"
RUN_ON_STARTUP: "false"
@ -158,7 +160,7 @@ services:
TZ: Europe/Berlin
volumes:
- ./data/restic/ssh/:/run/secrets/.ssh:ro
restore-cli:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
entrypoint: /entrypoint-restore