refactor(kasm-workspaces): disable traefik (#3048)
This commit is contained in:
parent
4063fbbfab
commit
defd253cb3
|
@ -2,10 +2,10 @@
|
||||||
"name": "Kasm Workspaces",
|
"name": "Kasm Workspaces",
|
||||||
"available": true,
|
"available": true,
|
||||||
"port": 8744,
|
"port": 8744,
|
||||||
"exposable": true,
|
"exposable": false,
|
||||||
"id": "kasm-workspaces",
|
"id": "kasm-workspaces",
|
||||||
"description": "Kasm Workspaces is a docker container streaming platform for delivering browser-based access to desktops, applications, and web services.",
|
"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",
|
"version": "1.120.20221218",
|
||||||
"categories": [
|
"categories": [
|
||||||
"utilities"
|
"utilities"
|
||||||
|
@ -15,5 +15,6 @@
|
||||||
"source": "https://github.com/kasmtech",
|
"source": "https://github.com/kasmtech",
|
||||||
"website": "https://www.kasmweb.com/",
|
"website": "https://www.kasmweb.com/",
|
||||||
"form_fields": [],
|
"form_fields": [],
|
||||||
"supported_architectures": ["arm64", "amd64"]
|
"supported_architectures": ["arm64", "amd64"],
|
||||||
|
"https": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,37 +5,15 @@ services:
|
||||||
container_name: kasm-workspaces
|
container_name: kasm-workspaces
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
- KASM_PORT=8744
|
- KASM_PORT=${APP_PORT}
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data:/opt
|
- ${APP_DATA_DIR}/data:/opt
|
||||||
ports:
|
ports:
|
||||||
- 8743:3000
|
- 8743:3000
|
||||||
- ${APP_PORT}:8744
|
- ${APP_PORT}:${APP_PORT}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
labels:
|
labels:
|
||||||
# Main
|
# Main
|
||||||
traefik.enable: true
|
traefik.enable: false
|
||||||
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
|
|
Loading…
Reference in New Issue
Block a user