0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 03:06:08 +02:00

Using volume_from instead of volumes for cron in examples

Signed-off-by: Karem Sobhy <karemsobhy020@gmail.com>
This commit is contained in:
Karem Sobhy 2022-02-27 15:24:02 +02:00
parent 3fd3a40ee1
commit 8ca096c105
9 changed files with 18 additions and 18 deletions

View file

@ -35,8 +35,8 @@ services:
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -43,8 +43,8 @@ services:
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -32,8 +32,8 @@ services:
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -40,8 +40,8 @@ services:
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -39,8 +39,8 @@ services:
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -48,8 +48,8 @@ services:
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -36,8 +36,8 @@ services:
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -45,8 +45,8 @@ services:
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db

View file

@ -29,8 +29,8 @@ services:
cron:
image: nextcloud
restart: always
volumes:
- nextcloud:/var/www/html
volumes_from:
- app
entrypoint: /cron.sh
depends_on:
- db