From d826510a9860f023885c7b287682ff6eb9d43552 Mon Sep 17 00:00:00 2001 From: rock Date: Tue, 15 Sep 2026 00:13:02 +0900 Subject: [PATCH] feat(paperless-ai): configure for production with Paperless API + LLM integration - Add ConfigMap with production paperless-ai config - Mount .env config file for app startup - Enable auto-tagging, correspondent extraction, document type detection - Set LLM API endpoint and token file location - Configure 60s scan interval for document processing --- k8s/apps/paperless/paperless-ai.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/k8s/apps/paperless/paperless-ai.yaml b/k8s/apps/paperless/paperless-ai.yaml index 43d4c2a..2980782 100644 --- a/k8s/apps/paperless/paperless-ai.yaml +++ b/k8s/apps/paperless/paperless-ai.yaml @@ -25,6 +25,9 @@ spec: - name: paperless-ai-data persistentVolumeClaim: claimName: paperless-ai-data + - name: paperless-ai-env-config + configMap: + name: paperless-ai-env initContainers: - name: fetch-llm-token image: curlimages/curl:8.12.0 @@ -112,6 +115,9 @@ spec: volumeMounts: - name: paperless-ai-data mountPath: /app/data + - name: paperless-ai-env-config + mountPath: /app/data/.env + subPath: paperless-ai-config.env resources: requests: cpu: 100m