feat(auth): add API key authentication

This commit is contained in:
Julien Calixte
2026-04-22 16:31:24 +02:00
parent 74bbea8eb0
commit ad48f27115
2 changed files with 2 additions and 0 deletions

View File

@@ -1 +1,2 @@
DOCLING_SERVE_ENABLE_UI=true
DOCLING_SERVE_API_KEY=change-me

View File

@@ -5,6 +5,7 @@ services:
- "5001"
environment:
- DOCLING_SERVE_ENABLE_UI=${DOCLING_SERVE_ENABLE_UI:-true}
- DOCLING_SERVE_API_KEY=${DOCLING_SERVE_API_KEY}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
interval: 30s