feat(auth): add API key authentication
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DOCLING_SERVE_ENABLE_UI=true
|
DOCLING_SERVE_ENABLE_UI=true
|
||||||
|
DOCLING_SERVE_API_KEY=change-me
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ services:
|
|||||||
- "5001"
|
- "5001"
|
||||||
environment:
|
environment:
|
||||||
- DOCLING_SERVE_ENABLE_UI=${DOCLING_SERVE_ENABLE_UI:-true}
|
- DOCLING_SERVE_ENABLE_UI=${DOCLING_SERVE_ENABLE_UI:-true}
|
||||||
|
- DOCLING_SERVE_API_KEY=${DOCLING_SERVE_API_KEY}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user