mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-31 14:33:50 -04:00
Expose transcoder to traefik
This commit is contained in:
parent
c90d0e7ffc
commit
8caff21114
@ -16,6 +16,13 @@ x-transcoder: &transcoder-base
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
- ${CACHE_ROOT}:/cache
|
||||
- transcoder_metadata:/metadata
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.transcoder.rule=PathPrefix(`/video`)"
|
||||
- "traefik.http.routers.transcoder.middlewares=phantom-token"
|
||||
- "traefik.http.middlewares.phantom-token.forwardauth.address=http://auth:4568/auth/jwt"
|
||||
- "traefik.http.middlewares.phantom-token.forwardauth.authRequestHeaders=Authorization,X-Api-Key"
|
||||
- "traefik.http.middlewares.phantom-token.forwardauth.authResponseHeaders=Authorization"
|
||||
develop:
|
||||
watch:
|
||||
- action: sync+restart
|
||||
|
Loading…
x
Reference in New Issue
Block a user