all restart policies for backup container
This commit is contained in:
parent
259cb76cc1
commit
b7ebd15d83
2 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
@ -158,7 +160,7 @@ services:
|
||||||
TZ: Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/restic/ssh/:/run/secrets/.ssh:ro
|
- ./data/restic/ssh/:/run/secrets/.ssh:ro
|
||||||
|
|
||||||
restore-cli:
|
restore-cli:
|
||||||
image: registry.git.base23.de/base23/backup/resticker:0.17.0
|
image: registry.git.base23.de/base23/backup/resticker:0.17.0
|
||||||
entrypoint: /entrypoint-restore
|
entrypoint: /entrypoint-restore
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue