Compare commits

..

No commits in common. "f8b7ad6cb486928f2269e2af745f1ec700096312" and "1628205c3565c28b54ac365a6290a0e4ab5925c2" have entirely different histories.

View File

@ -1,4 +1,6 @@
--- ---
version: "3"
services: services:
nextcloud: nextcloud:
image: nextcloud:${NC_VERSION} image: nextcloud:${NC_VERSION}
@ -10,7 +12,6 @@ services:
- MYSQL_DATABASE=${NC_DATABASE_NAME} - MYSQL_DATABASE=${NC_DATABASE_NAME}
- MYSQL_USER=${NC_DATABASE_USER} - MYSQL_USER=${NC_DATABASE_USER}
- MYSQL_PASSWORD=${NC_DATABASE_PASS} - MYSQL_PASSWORD=${NC_DATABASE_PASS}
- OVERWRITEPROTOCOL=https
labels: labels:
- traefik.enable=${TRAEFIK_ENABLED} - traefik.enable=${TRAEFIK_ENABLED}
- traefik.docker.network=${TRAEFIK_NETWORK} - traefik.docker.network=${TRAEFIK_NETWORK}
@ -28,10 +29,6 @@ services:
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER} - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
# specify a service so a custom port can be used # specify a service so a custom port can be used
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT} - traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
# specify a custom middleware for nextcloud-specific configuration
- traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.permanent=true
- traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.regex="https://(.*)/.well-known/(card|cal)dav"
- traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.replace="https://${1}/remote.php/dav/"
networks: networks:
- internal - internal
- traefik - traefik