Compare commits

...

2 Commits

Author SHA1 Message Date
Julien Calixte
ad48f27115 feat(auth): add API key authentication 2026-04-22 16:31:24 +02:00
Julien Calixte
74bbea8eb0 chore(compose): delegate port routing to Coolify reverse proxy
Replace host port binding with expose so Coolify's Traefik handles
external routing. Remove PORT env var as it is no longer needed.
2026-04-22 16:31:07 +02:00
2 changed files with 4 additions and 3 deletions

View File

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

View File

@@ -1,10 +1,11 @@
services:
docling:
image: quay.io/docling-project/docling-serve:latest
ports:
- "${PORT:-5001}:5001"
expose:
- "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