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:
parent
f705596bce
commit
3d6d254f21
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue