homelab-codex-ws/services/paperless-worker/env.example

17 lines
768 B
Plaintext
Raw Normal View History

# 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
# 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 DECYZJA OSKARA: sizing pod batch 70k zalacznikow — zmierzyc na probce.
WORKER_CONCURRENCY=4