From a658288a683e5016df46a4d6a2b0546c029aa752 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Wed, 17 Apr 2024 09:47:32 +0800 Subject: [PATCH] Add new routes and services for The Lounge app --- compose/traefik/traefik.yml | 14 ++++++++++++++ production.yml | 12 ++++++++++++ 2 files changed, 26 insertions(+) diff --git a/compose/traefik/traefik.yml b/compose/traefik/traefik.yml index b4f7026..c9b16e9 100644 --- a/compose/traefik/traefik.yml +++ b/compose/traefik/traefik.yml @@ -100,6 +100,16 @@ http: tls: certResolver: letsencrypt + thelounge-router: + rule: "Host(`irc.furyhawk.lol`)" + entryPoints: + - web-secure + middlewares: + - csrf + service: thelounge_app + tls: + certResolver: letsencrypt + # mqttx-router: # rule: "Host(`mqttx.furyhawk.lol`)" # entryPoints: @@ -246,6 +256,10 @@ http: loadBalancer: servers: - url: http://cheatsheets_app:80 + thelounge_app: + loadBalancer: + servers: + - url: http://thelounge:9000 mqttx-web: loadBalancer: servers: diff --git a/production.yml b/production.yml index 9510cce..9dda986 100644 --- a/production.yml +++ b/production.yml @@ -65,6 +65,18 @@ services: - net - default + thelounge: + image: ghcr.io/thelounge/thelounge:latest + container_name: thelounge + expose: + - 9000 + restart: unless-stopped + volumes: + - ~/.thelounge:/var/opt/thelounge # bind lounge config from the host's file system + networks: + - net + - default + streamlit-bai: environment: <<: *default-environment