
N8N v2 workflow automation with worker and external task runners for secure code execution




N8N v2 is a powerful workflow automation platform that helps you connect different services and automate tasks. This template includes:
This template uses external task runners - N8N's recommended production setup for executing code in Code nodes:
With N8N v2, you can:
The worker + task runner setup ensures your automation tasks are processed reliably and securely.
http://N8N:5679, http://Worker:5679) which don't resolve on Zeabur's internal network. Changed to use ${CONTAINER_HOSTNAME} via exposed variables (N8N_BROKER_HOST, WORKER_BROKER_HOST), matching the pattern already used for PostgreSQL and Redis connectionsQUEUE_HEALTH_CHECK_ACTIVE=true to N8N and Worker services (from official docker-compose)spec to service level)N8N_RUNNERS_ENABLED environment variableRunners into N8N-Runners and Worker-Runners, matching the official n8n docker-compose setupN8N_RUNNERS_MODE=external)TASK_RUNNERS_AUTH_TOKEN for secure broker-runner authenticationOFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true for future compatibilityN8N_ENCRYPTION_KEY mismatch between n8n main instance and workerN8N_ENCRYPTION_KEY for both main instance and workersLearn more about task runners: https://docs.n8n.io/hosting/configuration/task-runners/
If you encounter any issues during deployment, please let me know via GitHub issues: https://github.com/glasschan/seafoodholdhand-zeabur-templates


