From 280bf098d0875d6d653ed18b7d8f875b511ef1ef Mon Sep 17 00:00:00 2001 From: Brandon Egger Date: Sat, 8 Jun 2024 17:36:29 -0500 Subject: [PATCH] add nextcloud cron job --- docker/nextcloud/docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker/nextcloud/docker-compose.yml b/docker/nextcloud/docker-compose.yml index 19bd7c9..80e20f1 100644 --- a/docker/nextcloud/docker-compose.yml +++ b/docker/nextcloud/docker-compose.yml @@ -1,3 +1,4 @@ +name: nextcloud services: db: image: postgres:16 @@ -43,5 +44,18 @@ services: - db - cache + cron: + image: rcdailey/nextcloud-cronjob + restart: always + network_mode: none + depends_on: + - app + volumes: + - /var/run/docker.sock:/var/run/docker.sock:ro + - /etc/localtime:/etc/localtime:ro + environment: + - NEXTCLOUD_CONTAINER_NAME=app + - NEXTCLOUD_PROJECT_NAME=nextcloud + volumes: cache: