read-only file system
This commit is contained in:
parent
34f9b33edf
commit
acc98a37cf
|
|
@ -21,9 +21,9 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "8085:80"
|
- "8085:80"
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/nextcloud/config:/config
|
- /home/marc/nextcloud/config:/config
|
||||||
- /opt/nextcloud/data:/data
|
- /home/marc/nextcloud/data:/data
|
||||||
- /opt/homepage/config:/mnt/homepage/config
|
- /home/marc/homepage/config:/mnt/homepage/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"]
|
test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"]
|
||||||
|
|
@ -41,10 +41,10 @@ services:
|
||||||
- MARIADB_ROOT_PASSWORD=Str0ng-Nextcloud-DB-Root-Pass
|
- MARIADB_ROOT_PASSWORD=Str0ng-Nextcloud-DB-Root-Pass
|
||||||
- TZ=Europe/Zurich
|
- TZ=Europe/Zurich
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/nextcloud/db:/var/lib/mysql
|
- /home/marc/nextcloud/db:/var/lib/mysql
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u nextcloud -pStr0ng-Nextcloud-DB-User-Pass || exit 1"]
|
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u nextcloud -p Str0ng-Nextcloud-DB-User-Pass || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue