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

View file

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