From 80887833cba7396bca6e93b59cb1277239cc895e Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 21 Nov 2025 04:12:36 +0000 Subject: [PATCH] Update compose.yaml Initial adjusted config - ignore previous ones --- compose.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index af4858d..d2dbec1 100644 --- a/compose.yaml +++ b/compose.yaml @@ -11,17 +11,39 @@ services: volumes: - /opt/proxy_stack/apps/thelounge/data:/var/opt/thelounge + # Attach to the same network Traefik uses + networks: + - proxy + environment: - TZ=America/Toronto # If at some point you run Traefik *on this same Docker host* # you can uncomment and adapt these labels. labels: + # Enable Traefik for this container - "traefik.enable=true" + + # Use the same external network as Traefik + - "traefik.docker.network=proxy" + + # Router: HTTPS - "traefik.http.routers.thelounge.rule=Host(`irc.digitalvoid.ca`)" - "traefik.http.routers.thelounge.entrypoints=websecure" - - "traefik.http.routers.thelounge.tls.certresolver=letsencrypt" + - "traefik.http.routers.thelounge.tls=true" + + # Use your existing DNS-challenge resolver + - "traefik.http.routers.thelounge.tls.certresolver=luadns" + + # Internal port of the app - "traefik.http.services.thelounge.loadbalancer.server.port=9000" + + # Optional: protect with CrowdSec bouncer + - "traefik.http.routers.homepage.middlewares=crowdsec-security@docker" volumes: thelounge_data: + +networks: + proxy: + external: true