fix(Nextcloud): Remove volume_from it's not valide on docker compose file v3

see https://stackoverflow.com/questions/45494746/docker-compose-volumes-from-usage-example
This commit is contained in:
Simon 2021-11-24 18:00:32 +01:00
parent f705596bce
commit 3d6d254f21
1 changed files with 8 additions and 4 deletions

View File

@ -39,8 +39,10 @@ services:
PGID: ${NEXTCLOUD_PGID:-1000} PGID: ${NEXTCLOUD_PGID:-1000}
depends_on: depends_on:
- nextcloud-fpm - nextcloud-fpm
volumes_from: volumes:
- nextcloud-fpm - nextcloud:/var/www/html
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
nextcloud-cron: nextcloud-cron:
image: ${NEXTCLOUD_IMAGE:-nextcloud:22.2.3-fpm-alpine} image: ${NEXTCLOUD_IMAGE:-nextcloud:22.2.3-fpm-alpine}
@ -52,5 +54,7 @@ services:
environment: environment:
PUID: ${NEXTCLOUD_PUID:-1000} PUID: ${NEXTCLOUD_PUID:-1000}
PGID: ${NEXTCLOUD_PGID:-1000} PGID: ${NEXTCLOUD_PGID:-1000}
volumes_from: volumes:
- nextcloud-fpm - nextcloud:/var/www/html
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro