update traefik configs

This commit is contained in:
Arlan Lloyd 2025-10-30 04:26:58 +00:00 committed by Zoe Roux
parent 5bf4d70623
commit ababb67b1a
No known key found for this signature in database

View File

@ -13,34 +13,50 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
data: data:
# TODO: finish templating
# can probably remove host rules, since this will only be infront of Kyoo
# WILL ONLY SUPPORT WEB BY DEFAULT
# forwardAuth.address will be taken from $values.kyoo.address
dynamic_config.yaml: | dynamic_config.yaml: |
http: http:
routers: routers:
phantomtest-basepath: basepath:
entryPoints: entryPoints:
- web - web
middlewares: middlewares:
- phantom-token - phantomtoken
service: phantomtest-api service: front
rule: "Host(`pt2.bitey.life`) && PathPrefix(`/`)" rule: "PathPrefix(`/`)"
phantomtest-wellknown: video:
entryPoints: entryPoints:
- web - web
service: phantomtest-auth service: transcoder
rule: "Host(`pt2.bitey.life`) && PathPrefix(`/.well-known/`)" rule: "PathPrefix(`/video`)"
phantomtest-auth: auth:
entryPoints: entryPoints:
- web - web
service: phantomtest-auth service: auth
rule: "Host(`pt2.bitey.life`) && PathPrefix(`/auth`)" rule: "PathPrefix(`/auth/`)"
wellknown:
entryPoints:
- web
service: auth
rule: "PathPrefix(`/.well-known/`)"
api:
entryPoints:
- web
service: back
rule: "PathPrefix(`/api/`)"
swagger:
entryPoints:
- web
service: back
rule: "PathPrefix(`/swagger`)"
scanner:
entryPoints:
- web
service: scanner
rule: "PathPrefix(`/scanner/`)"
middlewares: middlewares:
phantom-token: phantomtoken:
forwardAuth: forwardAuth:
address: "http://pt2.bitey.life/auth/jwt" address: "http://{{ include "kyoo.auth.fullname" . }}:4568/auth/jwt"
authRequestHeaders: authRequestHeaders:
- "Authorization" - "Authorization"
- "X-Api-Key" - "X-Api-Key"