Refactor thelounge.yml to update Traefik rule for IRC domain

This commit is contained in:
2024-06-04 14:36:59 +08:00
parent 4e696a8fee
commit 5284bcd5e6
+2 -2
View File
@@ -1,5 +1,5 @@
services: services:
app: thelounge:
image: thelounge/thelounge:latest image: thelounge/thelounge:latest
volumes: volumes:
- thelounge-data:/var/opt/thelounge - thelounge-data:/var/opt/thelounge
@@ -13,7 +13,7 @@ services:
- traefik.enable=true - traefik.enable=true
- traefik.docker.network=traefik-public - traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public - traefik.constraint-label=traefik-public
- traefik.http.routers.thelounge-https.rule=Host(`${DOMAIN?Variable not set}`) - traefik.http.routers.thelounge-https.rule=Host(irc.`${DOMAIN?Variable not set}`)
- traefik.http.routers.thelounge-https.entrypoints=https - traefik.http.routers.thelounge-https.entrypoints=https
- traefik.http.routers.thelounge-https.tls=true - traefik.http.routers.thelounge-https.tls=true
- traefik.http.routers.thelounge-https.tls.certresolver=le - traefik.http.routers.thelounge-https.tls.certresolver=le