docker-compose/docker-compose.yml - add nextcloud_cron
For running the cron job
This commit is contained in:
@@ -59,6 +59,17 @@ services:
|
|||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:3000/health || exit 1"]
|
# 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:
|
web:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user