diff --git a/docker-compose.yml b/docker-compose.yml index 2602c2a..43779ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,17 +20,22 @@ services: - traefik.http-allAndOne.loadbalancer.server.port=80 - - traefik.http.routers.allAndOne-http.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`) - - traefik.http.routers.allAndOne-http.entrypoints=http + # - traefik.http.routers.allAndOne-http.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`) + # - traefik.http.routers.allAndOne-http.entrypoints=http + + # - traefik.http.routers.allAndOne-https.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`) + # - traefik.http.routers.allAndOne-https.entrypoints=https + # - traefik.http.routers.allAndOne-https.tls=true + # - traefik.http.routers.allAndOne-https.tls.certresolver=le + + - traefik.basic.frontend.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`) + - "traefik.basic.port=3000" + - "traefik.basic.protocol=http" - - traefik.http.routers.allAndOne-https.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`) - - traefik.http.routers.allAndOne-https.entrypoints=https - - traefik.http.routers.allAndOne-https.tls=true - - traefik.http.routers.allAndOne-https.tls.certresolver=le # Enable www redirection for HTTP and HTTPS - - traefik.http.routers.allAndOne-https.middlewares=www-redirect - - traefik.http.routers.allAndOne-http.middlewares=https-redirect,www-redirect + # - traefik.http.routers.allAndOne-https.middlewares=www-redirect + # - traefik.http.routers.allAndOne-http.middlewares=https-redirect,www-redirect networks: - traefik-public - default