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
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -31,7 +31,7 @@ services:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html
|
- /opt/appdata/nextcloud:/var/www/html
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
|
@ -50,7 +50,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:ro
|
- /opt/appdata/nextcloud:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
networks:
|
networks:
|
||||||
|
@ -62,13 +62,9 @@ services:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html
|
- /opt/appdata/nextcloud:/var/www/html
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
container_name: nextcloud-cron
|
container_name: nextcloud-cron
|
||||||
|
|
||||||
volumes:
|
|
||||||
db: /opt/appdata/nextcloud/mysql
|
|
||||||
nextcloud: /opt/appdata/nextcloud
|
|
||||||
|
|
Loading…
Reference in New Issue