Add scanner's openapi to scalar

This commit is contained in:
2025-06-07 17:45:37 +02:00
parent 9f330f6683
commit aba86601cd
3 changed files with 15 additions and 2 deletions
+7
View File
@@ -107,6 +107,13 @@ services:
volumes:
- ./scanner:/app
- ${LIBRARY_ROOT}:/video:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.scanner.rule=PathPrefix(`/scanner/`)"
- "traefik.http.routers.scanner.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"
transcoder:
<<: *transcoder-base