paperless-ngx
A Helm chart for deploying Paperless-ngx with optional PostgreSQL, Redis, Gotenberg, and Tika services.
About this chart
Paperless-ngx Helm Chart
This Helm chart deploys the Paperless-ngx application along with its optional dependencies to Kubernetes. It includes:
- Paperless-ngx web application
- PostgreSQL database (optional, enabled by default)
- Redis (optional, enabled by default)
- Gotenberg (optional, enabled by default) for document conversions
- Apache Tika (optional, enabled by default) for content extraction
Prerequisites
- Kubernetes cluster v1.23+
- Helm v3.10+
- Persistent volumes available if persistence is enabled
- Ingress controller if you enable the Ingress
Default Container Images and Versions
The default images and tags are configured in values.yaml:
- Paperless-ngx:
ghcr.io/paperless-ngx/paperless-ngx:2.20.13 - PostgreSQL:
docker.io/library/postgres:18.3 - Redis:
docker.io/library/redis:8.6.2 - Gotenberg:
docker.io/gotenberg/gotenberg:8.28 - Apache Tika:
docker.io/apache/tika:3.3.0.0
You can override these through the values.yaml file or with --set flags.
Installation
helm repo add <your-repo> <repo-url>
helm install paperless <your-repo>/paperless-ngx
Or from the local chart directory:
helm install paperless ./charts/paperless-ngx
Configuration
Key settings are shown below. See values.yaml for the full list.
- paperless.image.repository, paperless.image.tag, paperless.image.pullPolicy
- paperless.service.type, paperless.service.port
- paperless.env.existingSecret (for DB password) and paperless.env.values
- paperless.persistence.* (data, media, export, consume)
- postgresql.enabled, redis.enabled, gotenberg.enabled, tika.enabled
- ingress settings under
paperless.ingress.*
Ingress
Example enabling Ingress with TLS (Cert-Manager):
paperless:
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: paperless-ngx.example.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: paperless-ngx-tls
hosts:
- paperless-ngx.example.com
Persistence
Each persistent volume claim can be configured or replaced with an existing claim. See paperless.persistence.* and postgresql.persistence, redis.persistence for details.
Upgrading
The chart automatically bumps the chart version on release. For application upgrades, pin the image tag rather than using latest for reproducible deployments.
Uninstalling
helm uninstall paperless
This removes all Kubernetes resources created by the chart. Persistent volumes are not deleted by default.
Support
For issues, questions, or contributions, please visit the GitHub repository.
Deploy paperless-ngx with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has paperless-ngx on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpaperless-ngx is pinned at v0.1.75 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply