This commit is contained in:
mr
2025-02-19 12:03:11 +01:00
parent 7e234a036a
commit bfca0b00ee
3 changed files with 17 additions and 7 deletions

View File

@@ -8,12 +8,14 @@ services:
ports:
- 8089:8080
labels:
- "traefik.enable=true"
- "traefik.http.routers.workspace.entrypoints=web"
- "traefik.http.middlewares.auth.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.routers.workspace.rule=PathPrefix(/workspace)"
- "traefik.http.routers.workspace.tls=false"
- "traefik.http.routers.workspace.middlewares=auth"
- "traefik.enable=true"
- "traefik.http.routers.workspace.entrypoints=web"
- "traefik.http.routers.workspace.rule=PathPrefix(`/workspace`)"
- "traefik.http.middlewares.workspace-rewrite.replacepathregex.regex=^/workspace(.*)"
- "traefik.http.middlewares.workspace-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.workspace.middlewares=workspace-rewrite"
- "traefik.http.services.workspace.loadbalancer.server.port=8080"
- "traefik.http.middlewares.workspace.forwardauth.address=http://oc-auth:8080/oc/forward"
container_name: oc-workspace
networks:
- catalog