Kompletter Pfad zu den Volumes auf Host statt docker volume
This commit is contained in:
parent
975ff8b1aa
commit
d30aed561e
|
@ -13,7 +13,7 @@ services:
|
|||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||
env_file:
|
||||
|
@ -31,7 +31,7 @@ services:
|
|||
image: nextcloud:fpm-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- /opt/appdata/nextcloud:/var/www/html
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
- REDIS_HOST=redis
|
||||
|
@ -50,7 +50,7 @@ services:
|
|||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
- /opt/appdata/nextcloud:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
networks:
|
||||
|
@ -62,13 +62,9 @@ services:
|
|||
image: nextcloud:fpm-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
- /opt/appdata/nextcloud:/var/www/html
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
container_name: nextcloud-cron
|
||||
|
||||
volumes:
|
||||
db: /opt/appdata/nextcloud/mysql
|
||||
nextcloud: /opt/appdata/nextcloud
|
||||
|
|
Loading…
Reference in New Issue