docker-compose/docker-compose.yml - add nextcloud_cron

For running the cron job
This commit is contained in:
Nick Stokoe
2021-02-01 15:38:42 +00:00
parent 8df232dd91
commit 02b37f5680

View File

@@ -59,6 +59,17 @@ services:
# healthcheck:
# test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:3000/health || exit 1"]
nextcloud_cron:
image: nextcloud:18.0.13-fpm-alpine
restart: always
volumes:
- nextcloud_src:{{ nextcloud_base_dir }}
- nextcloud_data:{{ nextcloud_data_dir }}
entrypoint: /cron.sh
depends_on:
- postgres
- redis
web:
build: ./web
restart: always