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

@ -5,7 +5,7 @@ services:
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data
- db:/var/lib/postgresql/data:Z
env_file:
- db.env
@ -17,7 +17,7 @@ services:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
- nextcloud:/var/www/html:z
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
@ -37,7 +37,7 @@ services:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
- nextcloud:/var/www/html:z
entrypoint: /cron.sh
depends_on:
- db
@ -52,10 +52,10 @@ services:
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs:/etc/nginx/certs:z,ro
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/tmp/docker.sock:z,ro
networks:
- proxy-tier
@ -63,11 +63,11 @@ services:
image: nginxproxy/acme-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- acme:/etc/acme.sh
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
- certs:/etc/nginx/certs:z
- acme:/etc/acme.sh:z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/var/run/docker.sock:z,ro
networks:
- proxy-tier
depends_on: