automation-stack
by QuenchWorks
n8n in queue mode with PostgreSQL and Valkey: workflow automation that scales out, with the main instance taking webhooks and the editor, workers running executions, and the database, queue and shared secrets wired at install. All component images are QuenchWorks-hardened, nonroot, CVE-gated, pinned by digest and cosign-signed.
About this chart
Quenchworks automation-stack
n8n 2.40.7 in queue mode, in one install: the main instance takes the editor, the REST API, webhooks and schedules and puts executions on a Valkey queue; workers take them from the queue and run them; both share PostgreSQL. All images are QuenchWorks (nonroot, CVE-gated at build, pinned by digest, cosign-signed). The stack generates the database password, the queue password and n8n's encryption key at install and keeps them across upgrades.
Install
helm install automation oci://ghcr.io/quenchworks/charts/automation-stack -n automation --create-namespace \
--set n8n.n8n.host=n8n.example.com --set n8n.n8n.webhookUrl=https://n8n.example.com/
The first visit to the editor creates the owner account.
Values
| Key | Default | Notes |
|---|---|---|
worker.replicas | 2 | workers running executions; scale out here |
worker.concurrency | 10 | executions each worker runs at once |
worker.image.digest | pinned | keep equal to the n8n subchart's image |
n8n.* | passes to the n8n chart: n8n.host, n8n.webhookUrl, ingress, tls, persistence | |
postgresql.* | passes to the postgresql chart | |
valkey.* | passes to the valkey chart |
Notes
- Back up the Secret
automation-secrets. Itsencryption-keydecrypts every credential stored in n8n; Helm keeps the Secret on uninstall. - One stack per namespace: the Secret and the PostgreSQL and Valkey Services
(
automation-postgresql,automation-valkey) have fixed names, because the subcharts are wired from plain values. - Editor runs go to the workers too (
OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS). - Workers and the main instance wait up to 2 minutes for Valkey at startup instead of exiting after n8n's default 10 seconds.
Deploy automation-stack with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has automation-stack 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 chartautomation-stack is pinned at v0.0.12 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