updated paperless with worker health-check

This commit is contained in:
2026-01-22 10:53:53 +01:00
parent 59cc162bc4
commit b730465939
+7
View File
@@ -257,6 +257,13 @@ spec:
value: "true"
- name: PAPERLESS_LOGOUT_REDIRECT_URL
value: "https://authentik.dooplex.hu/application/o/paperless/end-session/"
# Env values for checking worker health
- name: PAPERLESS_TASK_WORKERS
value: "2"
- name: CELERY_WORKER_MAX_TASKS_PER_CHILD
value: "100" # Restart worker after 100 tasks (prevents memory leaks/hangs)
- name: CELERY_WORKER_MAX_MEMORY_PER_CHILD
value: "1048576" # Restart if worker exceeds 1GB
ports:
- name: http
containerPort: 8000