diff options
Diffstat (limited to '.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml')
-rw-r--r-- | .examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml index 4cf50d60..b88a3594 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml @@ -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:apache restart: always volumes: - - nextcloud:/var/www/html + - nextcloud:/var/www/html:z environment: - VIRTUAL_HOST= - LETSENCRYPT_HOST= @@ -42,7 +42,7 @@ services: image: nextcloud:apache restart: always volumes: - - nextcloud:/var/www/html + - nextcloud:/var/www/html:z entrypoint: /cron.sh depends_on: - db @@ -57,10 +57,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 @@ -68,11 +68,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: |