Add nextcloud-cron task

This commit is contained in:
Elara 2023-01-27 17:11:19 -08:00
parent a838293ba4
commit aec432268b

View File

@ -70,6 +70,24 @@ job "nextcloud" {
} }
} }
task "nextcloud-cron" {
lifecycle {
hook = "poststart"
}
volume_mount {
volume = "nextcloud-html"
destination = "/var/www/html"
read_only = false
}
driver = "docker"
config {
image = "nextcloud:apache"
command = "/cron.sh"
}
}
task "onlyoffice" { task "onlyoffice" {
driver = "docker" driver = "docker"