From defd253cb3d6f9c5ae7cb093a66290ce57d1ac12 Mon Sep 17 00:00:00 2001 From: Stavros Date: Thu, 4 Apr 2024 22:30:21 +0300 Subject: [PATCH] refactor(kasm-workspaces): disable traefik (#3048) --- apps/kasm-workspaces/config.json | 7 ++++--- apps/kasm-workspaces/docker-compose.yml | 28 +++---------------------- 2 files changed, 7 insertions(+), 28 deletions(-) diff --git a/apps/kasm-workspaces/config.json b/apps/kasm-workspaces/config.json index 2228bfad..64051985 100644 --- a/apps/kasm-workspaces/config.json +++ b/apps/kasm-workspaces/config.json @@ -2,10 +2,10 @@ "name": "Kasm Workspaces", "available": true, "port": 8744, - "exposable": true, + "exposable": false, "id": "kasm-workspaces", "description": "Kasm Workspaces is a docker container streaming platform for delivering browser-based access to desktops, applications, and web services.", - "tipi_version": 2, + "tipi_version": 3, "version": "1.120.20221218", "categories": [ "utilities" @@ -15,5 +15,6 @@ "source": "https://github.com/kasmtech", "website": "https://www.kasmweb.com/", "form_fields": [], - "supported_architectures": ["arm64", "amd64"] + "supported_architectures": ["arm64", "amd64"], + "https": true } diff --git a/apps/kasm-workspaces/docker-compose.yml b/apps/kasm-workspaces/docker-compose.yml index 90799457..c83d6fa3 100644 --- a/apps/kasm-workspaces/docker-compose.yml +++ b/apps/kasm-workspaces/docker-compose.yml @@ -5,37 +5,15 @@ services: container_name: kasm-workspaces privileged: true environment: - - KASM_PORT=8744 + - KASM_PORT=${APP_PORT} volumes: - ${APP_DATA_DIR}/data:/opt ports: - 8743:3000 - - ${APP_PORT}:8744 + - ${APP_PORT}:${APP_PORT} restart: unless-stopped networks: - tipi_main_network labels: # Main - traefik.enable: true - traefik.http.middlewares.kasm-workspaces-web-redirect.redirectscheme.scheme: https - traefik.http.services.kasm-workspaces.loadbalancer.server.port: 8744 - # Web - traefik.http.routers.kasm-workspaces-insecure.rule: Host(`${APP_DOMAIN}`) - traefik.http.routers.kasm-workspaces-insecure.entrypoints: web - traefik.http.routers.kasm-workspaces-insecure.service: kasm-workspaces - traefik.http.routers.kasm-workspaces-insecure.middlewares: kasm-workspaces-web-redirect - # Websecure - traefik.http.routers.kasm-workspaces.rule: Host(`${APP_DOMAIN}`) - traefik.http.routers.kasm-workspaces.entrypoints: websecure - traefik.http.routers.kasm-workspaces.service: kasm-workspaces - traefik.http.routers.kasm-workspaces.tls.certresolver: myresolver - # Local domain - traefik.http.routers.kasm-workspaces-local-insecure.rule: Host(`kasm-workspaces.${LOCAL_DOMAIN}`) - traefik.http.routers.kasm-workspaces-local-insecure.entrypoints: web - traefik.http.routers.kasm-workspaces-local-insecure.service: kasm-workspaces - traefik.http.routers.kasm-workspaces-local-insecure.middlewares: kasm-workspaces-web-redirect - # Local domain secure - traefik.http.routers.kasm-workspaces-local.rule: Host(`kasm-workspaces.${LOCAL_DOMAIN}`) - traefik.http.routers.kasm-workspaces-local.entrypoints: websecure - traefik.http.routers.kasm-workspaces-local.service: kasm-workspaces - traefik.http.routers.kasm-workspaces-local.tls: true \ No newline at end of file + traefik.enable: false \ No newline at end of file