mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-11-21 14:03:21 -05:00
update traefik configs
This commit is contained in:
parent
5bf4d70623
commit
ababb67b1a
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user