mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-19 21:05:22 +02:00
feat(nextcloud-aio): add nextcloud_cron service (#766)
This commit is contained in:
@@ -14,6 +14,21 @@ services:
|
||||
- nextcloud_db
|
||||
- nextcloud_redis
|
||||
|
||||
nextcloud_cron:
|
||||
image: nextcloud:stable
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud_data:/var/www/html
|
||||
environment:
|
||||
- MYSQL_HOST=nextcloud_db
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- nextcloud_db
|
||||
- nextcloud_redis
|
||||
|
||||
nextcloud_db:
|
||||
image: mariadb:10.11
|
||||
restart: always
|
||||
@@ -31,4 +46,4 @@ services:
|
||||
|
||||
volumes:
|
||||
nextcloud_data:
|
||||
nextcloud_db_data:
|
||||
nextcloud_db_data:
|
||||
|
||||
Reference in New Issue
Block a user