From dbfb7cbceaf79b240b69d73d42b954a0a2585a4d Mon Sep 17 00:00:00 2001 From: stcb <21@stcb.cc> Date: Tue, 3 Dec 2024 11:34:30 +0100 Subject: [PATCH] Last conf before slashing all to NC AIO. --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index faa79a9..e896d84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: - --entrypoints.http.http.redirections.entrypoint.to=https - --entrypoints.https.address=:443 - --log.level=info - - --providers.docker.exposedbydefault=false + - --providers.docker.exposedbydefault=true - --providers.docker=true ports: - "80:80" @@ -62,14 +62,15 @@ services: init: true environment: - APACHE_PORT=11000 - - SKIP_DOMAIN_VALIDATION=true +# - SKIP_DOMAIN_VALIDATION=true + labels: - traefik.enable=true - traefik.http.middlewares.nextcloud_headers.headers.hostsProxyHeaders=X-Forwarded-Host - traefik.http.middlewares.nextcloud_headers.headers.referrerPolicy=same-origin - - traefik.http.routers.nextcloud.entrypoints=https - traefik.http.routers.nextcloud.middlewares=nextcloud_headers - traefik.http.routers.nextcloud.rule=Host(`cloud.clps.ch`) + - traefik.http.routers.nextcloud.entrypoints=https - traefik.http.routers.nextcloud.tls.certresolver=letsencrypt - traefik.http.services.nextcloud.loadbalancer.server.port=11000 ports: