From 14df8dc3a3a6308faf694fe5f8d9b2d2f88dc444 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 15 May 2024 00:24:38 +0200 Subject: [PATCH] Update docker-compose-redis.yml --- examples/nextcloud/docker-compose-redis.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/examples/nextcloud/docker-compose-redis.yml b/examples/nextcloud/docker-compose-redis.yml index e5ea5d1..49bec88 100644 --- a/examples/nextcloud/docker-compose-redis.yml +++ b/examples/nextcloud/docker-compose-redis.yml @@ -17,14 +17,18 @@ services: - MYSQL_USER=nextcloud #SQL Nutzername - MYSQL_INITDB_SKIP_TZINFO=1 - MARIADB_AUTO_UPGRADE=1 - + #networks: + # - proxy + nextcloud-redis: image: redis:alpine container_name: nextcloud-redis hostname: nextcloud-redis restart: unless-stopped command: redis-server --requirepass nextcloud # Redis Passwort eingeben - + #networks: + # - proxy + nextcloud-app: image: nextcloud container_name: nextcloud-app @@ -46,12 +50,15 @@ services: volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/data:/var/www/html/data - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nextcloud/app:/var/www/html + #networks: + # - proxy #labels: # - traefik.enable=true # - traefik.http.routers.nextcloud.rule=(Host(`cloud.example.com`)) # pls change # - traefik.http.services.nextcloud.loadbalancer.server.port=80 # - traefik.http.services.nextcloud.loadbalancer.server.scheme=https - # - traefik.http.services.nextcloud.loadbalancer.serverstransport=insecureTransport@file + # - traefik.http.services.nextcloud.loadbalancer.serverstransport=insecureTransport@file + # - traefik.http.routers.CHANGEME.middlewares=local-ipwhitelist@file,authelia@docker # - traefik.docker.network=proxy # - traefik.http.middlewares.nextcloud-dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav # - traefik.http.middlewares.nextcloud-dav.replacepathregex.replacement=/remote.php/dav/ @@ -61,3 +68,7 @@ services: # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads # # Part for local lan services only # #- traefik.http.routers.privatebin.middlewares=basic-auth@file,local-ipwhitelist@file,security-headers@file + +#networks: +# proxy: +# external: true