added and fix some of things

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-08-03 12:03:02 +08:00
parent 6765c1faba
commit d246c09cdd
31 changed files with 724 additions and 510 deletions
-21
View File
@@ -125,27 +125,6 @@ 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 (Cloudflare Tunnel, see
# chibistar/docker-compose.yml's markitdown-cloudflared service and
# chibistar/Caddyfile's @markitdown matcher — the zrok share,
# markitdownstarr.share.zrok.io, is kept alongside as a fallback):
# MARKITDOWN_BASE_URL=https://santa-monica.space
#
# 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