refactor(kasm-workspaces): disable traefik (#3048)
This commit is contained in:
parent
4063fbbfab
commit
defd253cb3
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
traefik.enable: false
|
Loading…
Reference in New Issue
Block a user