Merge pull request 'fix(Nextcloud): Remove volume_from it's not valide on docker compose file v3' (#13) from nextcloud into main

Reviewed-on: https://git.weko.io/resilien/services/pulls/13
This commit is contained in:
Simon 2021-11-24 18:03:18 +01:00
commit 012823e1a3
1 changed files with 8 additions and 4 deletions

View File

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