restart directives fix

This commit is contained in:
root 2022-11-08 10:16:45 +01:00
parent e49675de6b
commit 83d044d1b7

View File

@ -38,7 +38,6 @@ services:
networks: networks:
- nextcloud - nextcloud
- proxy - proxy
restart: unless-stopped
labels: labels:
traefik.http.routers.nextcloud-web.entrypoints: websecure traefik.http.routers.nextcloud-web.entrypoints: websecure
traefik.http.routers.nextcloud-web.rule: Host(`cloud.oasis21.org`) traefik.http.routers.nextcloud-web.rule: Host(`cloud.oasis21.org`)
@ -49,13 +48,12 @@ services:
traefik.http.middlewares.nextcloud-web.redirectregex.permanent: true traefik.http.middlewares.nextcloud-web.redirectregex.permanent: true
traefik.http.middlewares.nextcloud-web.redirectregex.regex: "https://(.*)/.well-known/(card|cal)dav" traefik.http.middlewares.nextcloud-web.redirectregex.regex: "https://(.*)/.well-known/(card|cal)dav"
traefik.http.middlewares.nextcloud-web.redirectregex.replacement: "https://$${1}/remote.php/dav/" traefik.http.middlewares.nextcloud-web.redirectregex.replacement: "https://$${1}/remote.php/dav/"
restart: unless-stopped
redis: redis:
image: redis image: redis
image: 'bitnami/redis:7.0.4' image: 'bitnami/redis:7.0.4'
container_name: redis container_name: redis
restart: unless-stopped restart: unless-stopped
environment: environment:
- "TZ=Europe/Paris" - "TZ=Europe/Paris"
- ALLOW_EMPTY_PASSWORD=yes - ALLOW_EMPTY_PASSWORD=yes