document to markdown

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-18 11:40:47 +08:00
parent 941590f51a
commit b241220c15
8 changed files with 343 additions and 11 deletions
+19
View File
@@ -125,6 +125,25 @@ CHIBISAFE_ALBUM_THUMBNAILS=CHANGE_ME_UUID
CHIBISAFE_ALBUM_DOCUMENTS=CHANGE_ME_UUID
CHIBISAFE_ALBUM_ARCHIVED=CHANGE_ME_UUID
# ── MarkItDown (document-import PDF/PPTX -> Markdown sidecar) ────────────────
# Lives in the separate chibistar/ stack, not this one — not reachable by
# Docker service name.
#
# Self-hosted via this repo's docker-compose.yml, on the SAME machine as
# chibistar: reach it via host.docker.internal (see docker-compose.yml's
# extra_hosts on `backend`), which resolves to the host running chibistar's
# markitdown container (published to 127.0.0.1:8000 there).
MARKITDOWN_BASE_URL=http://host.docker.internal:8000
#
# Deployed elsewhere (e.g. Render) — no shared network with chibistar, so
# use the public hostname instead (zrok reserved share, see
# chibistar/docker-compose.yml's zrok-markitdown service):
# MARKITDOWN_BASE_URL=https://markitdownstarr.share.zrok.io
#
# Required in both cases — /convert checks this on every request since it's
# reachable publicly, not just over loopback/the Docker network.
MARKITDOWN_SHARED_SECRET=CHANGE_ME
# ── CORS ──────────────────────────────────────────────────────────────────────
# Comma-separated list of allowed origins. Must match FRONTEND_URL exactly.
ALLOWED_ORIGINS=https://yourdomain.com