From 7ebde3f4f3aa5d7fe53f4267e23ef0afa5aea73b Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sat, 7 Dec 2024 22:36:59 +0100 Subject: [PATCH] remove https --- docker-compose.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 15d209e..748e12f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,29 +6,29 @@ services: command: #- "--log.level=DEBUG" - - "--api.insecure=false" + # - "--api.insecure=false" - "--providers.docker=true" #- "--api.dashboard=true" - "--providers.docker.exposedbydefault=false" - "--entrypoints.unsecure.address=:80" - - "--entrypoints.web.address=:443" - # Global HTTP -> HTTPS - - "--entrypoints.unsecure.http.redirections.entryPoint.to=web" - - "--entrypoints.unsecure.http.redirections.entryPoint.scheme=https" + # Global HTTPS + # - "--entrypoints.web.address=:443" + # - "--entrypoints.unsecure.http.redirections.entryPoint.to=web" + # - "--entrypoints.unsecure.http.redirections.entryPoint.scheme=https" # SSL configuration - - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true" - - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=unsecure" - - "--certificatesresolvers.letsencrypt.acme.email=${registerEmailAdress}" - - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json" + # - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true" + # - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=unsecure" + # - "--certificatesresolvers.letsencrypt.acme.email=${registerEmailAdress}" + # - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json" labels: - "traefik.enable=true" - "traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)" - "traefik.http.routers.http-catchall.entrypoints=unsecure" - "traefik.http.routers.http-catchall.middlewares=redirect-to-https@docker" - - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" + # - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" - "traefik.http.routers.traefik-odc.rule=Host(`traefik.`)" - "traefik.http.routers.traefik-odc.entrypoints=web"