From ba9bf5b2eb055658f4d545b171a07ae82b16fca0 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 16 Oct 2023 23:07:01 -0700 Subject: [PATCH] #101 Update kasm traefik config Create dedicated setup router Use explicit port config for standard and setup routers --- fighter/config/kasm/docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fighter/config/kasm/docker-compose.yml b/fighter/config/kasm/docker-compose.yml index 17e1993..293a5ef 100644 --- a/fighter/config/kasm/docker-compose.yml +++ b/fighter/config/kasm/docker-compose.yml @@ -21,15 +21,19 @@ services: - ${APP_DATA}/profiles:/profiles - /dev/input:/dev/input - /run/udev/data:/run/udev/data - ports: - - 3000:3000 networks: - web labels: - traefik.http.routers.kasm.rule=Host(`kasm.jafner.net`) - traefik.http.routers.kasm.tls.certresolver=lets-encrypt - traefik.http.routers.kasm.middlewares=traefik-forward-auth-privileged@file + - traefik.http.services.kasm.loadbalancer.server.port=443 - traefik.http.services.kasm.loadbalancer.serverstransport=insecureskipverify@file + - traefik.http.routers.kasm-setup.rule=Host(`setup.kasm.jafner.net`) + - traefik.http.routers.kasm-setup.tls.certresolver=lets-encrypt + - traefik.http.routers.kasm-setup.middlewares=traefik-forward-auth-privileged@file + - traefik.http.services.kasm-setup.loadbalancer.server.port=3000 + - traefik.http.services.kasm-setup.loadbalancer.serverstransport=insecureskipverify@file networks: web: