From aa3f2350a77859fb8b57093838ec991ae5510c56 Mon Sep 17 00:00:00 2001 From: mhupfauer Date: Wed, 28 Aug 2024 12:51:26 +0200 Subject: [PATCH] Fixed traefik missing network `docker-compose.yaml` uses `claper-net` as network but this guide does not propose to add the traefik container to this network, resulting in Gateway Timeout issues --- self-hosting/quick-start.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/self-hosting/quick-start.md b/self-hosting/quick-start.md index 537158a..87bc19f 100644 --- a/self-hosting/quick-start.md +++ b/self-hosting/quick-start.md @@ -58,7 +58,7 @@ services: - "--api.insecure=true" - "--providers.docker=true" - "--providers.docker.exposedbydefault=false" - - "--entrypoints.web.address=:443" + - "--entrypoints.websecure.address=:443" - "--certificatesresolvers.myresolver.acme.tlschallenge=true" - "--certificatesresolvers.myresolver.acme.email=youremail@example.com" - "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json" @@ -68,6 +68,8 @@ services: ports: - "80:80" - "443:443" + networks: + - claper-net ``` Make sure to replace `youremail@example.com` with your email address. This is important for SSL certificate generation. @@ -82,7 +84,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.app.rule=Host(`claper.example.com`)" - "traefik.http.routers.app.tls.certresolver=myresolver" - - "traefik.http.routers.app.entrypoints=web" + - "traefik.http.routers.app.entrypoints=websecure" - "traefik.http.services.app.loadbalancer.server.port=4000" ```