infra/stacks/paperless-ai
Viktor Barzin 4977153dfb
All checks were successful
ci/woodpecker/push/default Pipeline was successful
paperless-ai: make the PVC .env the single source of config truth
Auto-tagging silently no-op'd: the container env vars set in the deployment
shadowed the app's own /app/data/.env, because paperless-ai's dotenv loader
does not override process.env. A stale PROCESS_PREDEFINED_DOCUMENTS=yes (with
no TAGS) made the scan select zero documents.

Strip the wizard-owned behavioural config (Paperless URL, AI provider, model,
scan interval, tagging flags) from the container env, keeping only
infrastructural env (PUID/PGID/port/RAG/HF cache) and the Vault-sourced
secret refs. The app's setup-written .env on the PVC is now authoritative,
so processing runs and tags all documents. Qwen3 thinking is disabled via
SYSTEM_PROMPT=/no_think in that .env to keep the model's JSON output parseable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 06:41:29 +00:00
..
main.tf paperless-ai: make the PVC .env the single source of config truth 2026-06-18 06:41:29 +00:00
secrets paperless-ai: deploy clusterzx/paperless-ai for semantic doc search + AI tagging 2026-06-18 06:23:00 +00:00
terragrunt.hcl paperless-ai: deploy clusterzx/paperless-ai for semantic doc search + AI tagging 2026-06-18 06:23:00 +00:00