Make nextcloud backup a non-sidecar task

Avoids restarting whole group when if it fails
This commit is contained in:
IamTheFij 2022-06-17 15:16:39 -07:00
parent 8cd2abc6b8
commit 252c9b4111
1 changed files with 5 additions and 0 deletions

View File

@ -155,6 +155,11 @@ job "nextcloud" {
task "backup" {
driver = "docker"
lifecycle {
hook = "poststart"
sidecar = false
}
volume_mount {
volume = "nextcloud-data"
destination = "/data"