# paperless-worker secrets — copy to .env (gitignored) next to # docker-compose.yml on SOLARIA. Values are SHARED with paperless@PIHA: # copy them from /opt/homelab/config or services/paperless/.env on PIHA, # do NOT generate new ones. # MUST be identical to PAPERLESS_SECRET_KEY in services/paperless/.env @ PIHA. PAPERLESS_SECRET_KEY=change-me-same-as-piha # MUST be identical to PAPERLESS_DBPASS in services/paperless/.env @ PIHA. PAPERLESS_DBPASS=change-me-same-as-piha # MUST be identical to PAPERLESS_REDIS_PASSWORD in services/paperless/.env @ # PIHA (broker requirepass) — a mismatch means this worker cannot reach the # queue. PAPERLESS_REDIS_PASSWORD=change-me-same-as-piha # Parallel OCR tasks on SOLARIA (celery --concurrency). Total CPU load is # roughly WORKER_CONCURRENCY x PAPERLESS_THREADS_PER_WORKER (4x4=16 threads # default, on 24 cores / 32 threads). # TODO AT DEPLOY (module 5): measure on a sample before the 70k-attachment batch. WORKER_CONCURRENCY=4