0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-25 12:50:54 +02:00

Support SELinux in docker-compose.yml examples (fix #324) (#1957)

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2023-03-28 16:05:53 +00:00 committed by GitHub
parent 30bb621341
commit 3eb80c52b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 64 additions and 64 deletions

View file

@ -6,7 +6,7 @@ services:
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
- db:/var/lib/mysql:Z
environment:
- MYSQL_ROOT_PASSWORD=
- MARIADB_AUTO_UPGRADE=1
@ -22,7 +22,7 @@ services:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
- nextcloud:/var/www/html:z
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
@ -38,7 +38,7 @@ services:
ports:
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:ro
- nextcloud:/var/www/html:z,ro
depends_on:
- app
@ -46,7 +46,7 @@ services:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
- nextcloud:/var/www/html:z
entrypoint: /cron.sh
depends_on:
- db