{
  "manifest_version": "1.0.0",
  "template": {
    "id": "df664a66-99c3-449a-adfa-bf6c4938bf77",
    "slug": "n8n-fullpack",
    "name": "n8n Fullpack",
    "description": "A production-ready n8n setup built to make life easier.",
    "url": "https://railway.com/deploy/n8n-fullpack",
    "upstream": {
      "image": "n8nio/n8n"
    }
  },
  "services": [
    {
      "name": "Worker 1",
      "source": {
        "image": "n8nio/n8n"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Worker 2",
      "source": {
        "image": "n8nio/n8n:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Runner 1",
      "source": {
        "image": "n8nio/runners"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Runner 2",
      "source": {
        "image": "n8nio/runners:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Primary",
      "source": {
        "image": "n8nio/n8n"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/node/.n8n",
      "http": true
    },
    {
      "name": "Webhook Processor",
      "source": {
        "image": "n8nio/n8n"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DB_TYPE",
      "service": "Worker 1",
      "description": "Use PostgreSQL as the shared n8n database backend",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "Worker 1",
      "description": "Allow the Worker Node.js process to use up to 8 GB of heap memory",
      "secret": false,
      "strategy": "default",
      "default": "--max_old_space_size=8192"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "Worker 1",
      "description": "Run workflow executions received from the Redis queue",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "Worker 1",
      "description": "Use a separate n8nio/runners service instead of spawning internal task runners",
      "secret": false,
      "strategy": "default",
      "default": "external"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "Worker 1",
      "description": "PostgreSQL host shared with Primary and other workers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "Worker 1",
      "description": "PostgreSQL port shared with Primary and other workers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "Worker 1",
      "description": "PostgreSQL username shared with Primary and other workers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "Worker 1",
      "description": "Reuse the Primary encryption key so credentials can be decrypted consistently",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "Worker 1",
      "description": "Redis host used to receive queued executions",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "Worker 1",
      "description": "Redis port used to receive queued executions",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "Worker 1",
      "description": "PostgreSQL database shared with all n8n instances",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "Worker 1",
      "description": "PostgreSQL password shared with all n8n instances",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "Worker 1",
      "description": "Shared authentication token between Worker 1 and Runner 1",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "Worker 1",
      "description": "Port used by the Worker task broker for external Task Runner connections",
      "secret": false,
      "strategy": "default",
      "default": "5679"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "Worker 1",
      "description": "Redis password provided by Railway",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "Worker 1",
      "description": "Redis username provided by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "Worker 1",
      "description": "Enable Redis communication over Railway dual-stack networking",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Worker 1",
      "description": "Improve Railway private-network DNS compatibility",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "Worker 1",
      "description": "Expose the Worker task broker to Runner 1 over Railway private networking",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "Worker 1",
      "description": "Enforce secure permissions on the n8n settings file",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_TYPE",
      "service": "Worker 2",
      "description": "Use PostgreSQL as the shared n8n database backend",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "Worker 2",
      "description": "Allow the Worker Node.js process to use up to 8 GB of heap memory",
      "secret": false,
      "strategy": "default",
      "default": "--max_old_space_size=8192"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "Worker 2",
      "description": "Run workflow executions received from the Redis queue",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "Worker 2",
      "description": "Use Runner 2 as this Worker's external Task Runner",
      "secret": false,
      "strategy": "default",
      "default": "external"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "Worker 2",
      "description": "PostgreSQL host shared across the n8n cluster",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "Worker 2",
      "description": "PostgreSQL port shared across the n8n cluster",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "Worker 2",
      "description": "PostgreSQL username shared across the n8n cluster",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "Worker 2",
      "description": "Use the exact same encryption key as Primary",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "Worker 2",
      "description": "Redis host used for execution queue distribution",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "Worker 2",
      "description": "Redis port used for execution queue distribution",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "Worker 2",
      "description": "PostgreSQL database shared across the n8n cluster",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "Worker 2",
      "description": "PostgreSQL password shared across the n8n cluster",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "Worker 2",
      "description": "Dedicated shared secret between Worker 2 and Runner 2",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "Worker 2",
      "description": "Task broker port used by Runner 2",
      "secret": false,
      "strategy": "default",
      "default": "5679"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "Worker 2",
      "description": "Redis password provided by Railway",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "Worker 2",
      "description": "Redis username provided by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "Worker 2",
      "description": "Enable Redis communication over dual-stack private networking",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Worker 2",
      "description": "Improve Railway private-network DNS compatibility",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "Worker 2",
      "description": "Expose the task broker over Railway private networking",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "Worker 2",
      "description": "Enforce secure permissions on the n8n settings file",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "Runner 1",
      "description": "Authenticate Runner 1 with the Worker 1 task broker",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_PAYLOAD",
      "service": "Runner 1",
      "description": "Maximum broker-to-runner payload size in bytes; 1 GiB matches the n8n default",
      "secret": false,
      "strategy": "default",
      "default": "1073741824"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "Runner 1",
      "description": "Maximum number of tasks this runner can execute concurrently",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "N8N_RUNNERS_TASK_BROKER_URI",
      "service": "Runner 1",
      "description": "Connect Runner 1 to Worker 1 over Railway private networking",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT",
      "service": "Runner 1",
      "description": "Stop idle runner processes after 15 seconds",
      "secret": false,
      "strategy": "default",
      "default": "15"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT",
      "service": "Runner 1",
      "description": "Internal health-check port exposed by the Task Runner launcher",
      "secret": false,
      "strategy": "default",
      "default": "5680"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "Runner 2",
      "description": "Authenticate Runner 2 with the Worker 2 task broker",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_PAYLOAD",
      "service": "Runner 2",
      "description": "Maximum broker-to-runner payload size in bytes; matches n8n default",
      "secret": false,
      "strategy": "default",
      "default": "1073741824"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "Runner 2",
      "description": "Maximum number of concurrent tasks executed by Runner 2",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "N8N_RUNNERS_TASK_BROKER_URI",
      "service": "Runner 2",
      "description": "Connect Runner 2 specifically to Worker 2 over Railway private networking",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT",
      "service": "Runner 2",
      "description": "Stop idle runner processes after 15 seconds",
      "secret": false,
      "strategy": "default",
      "default": "15"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT",
      "service": "Runner 2",
      "description": "Internal health-check port exposed by the Runner launcher",
      "secret": false,
      "strategy": "default",
      "default": "5680"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Redis hostname on Railway private networking",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Default Redis TCP port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default Redis ACL username",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Full Redis connection string using Railway private networking",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Compatibility alias exposing the Redis password under the REDISPASSWORD variable",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auto-generated 32-character Redis password using alphabetic characters",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DB_TYPE",
      "service": "Primary",
      "description": "Use PostgreSQL as the n8n database backend",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "N8N_PORT",
      "service": "Primary",
      "description": "HTTP port used by the n8n Primary instance",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "Primary",
      "description": "Allow the Node.js process to use up to 8 GB of heap memory",
      "secret": false,
      "strategy": "default",
      "default": "--max_old_space_size=8192"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "Primary",
      "description": "Send workflow executions to Redis-backed workers instead of executing them on Primary",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_WEBHOOK_URL",
      "service": "Primary",
      "description": "Public production webhook base URL handled by the dedicated Webhook Processor",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Primary",
      "description": "Run Primary as root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "Primary",
      "description": "PostgreSQL host provided by the Railway Postgres service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "Primary",
      "description": "PostgreSQL port provided by the Railway Postgres service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "Primary",
      "description": "PostgreSQL username provided by the Railway Postgres service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "Primary",
      "description": "Shared encryption key used to encrypt n8n credentials; must be identical across all n8n instances",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "Primary",
      "description": "Listen on IPv6 and IPv4-compatible interfaces for Railway private networking",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "Primary",
      "description": "Public URL used to access the n8n Editor UI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "Primary",
      "description": "Redis host used for the n8n execution queue",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "Primary",
      "description": "Redis port used for the n8n execution queue",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "Primary",
      "description": "PostgreSQL database used by n8n",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "Primary",
      "description": "PostgreSQL password provided by the Railway Postgres service",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "Primary",
      "description": "Redis password provided by Railway",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "Primary",
      "description": "Redis username provided by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "Primary",
      "description": "Enable Redis connectivity in dual-stack IPv4/IPv6 environments",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Primary",
      "description": "Improve private-network DNS behavior for Alpine-based containers on Railway",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_DISABLE_PRODUCTION_MAIN_PROCESS",
      "service": "Primary",
      "description": "Prevent Primary from accepting production webhook traffic because a dedicated Webhook Processor is used",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS",
      "service": "Primary",
      "description": "Execute manual workflow runs on workers instead of the Primary instance",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "Primary",
      "description": "Enforce secure permissions on the n8n settings file",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_TYPE",
      "service": "Webhook Processor",
      "description": "Use PostgreSQL as the shared n8n database backend",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "N8N_PORT",
      "service": "Webhook Processor",
      "description": "HTTP port used by the dedicated Webhook Processor",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "Webhook Processor",
      "description": "Allow the Node.js process to use up to 8 GB of heap memory",
      "secret": false,
      "strategy": "default",
      "default": "--max_old_space_size=8192"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "Webhook Processor",
      "description": "Queue incoming webhook executions for workers through Redis",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_WEBHOOK_URL",
      "service": "Webhook Processor",
      "description": "Public production webhook URL served by this processor",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "Webhook Processor",
      "description": "PostgreSQL host shared with all n8n instances",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "Webhook Processor",
      "description": "PostgreSQL port shared with all n8n instances",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "Webhook Processor",
      "description": "PostgreSQL username shared with all n8n instances",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "Webhook Processor",
      "description": "Reuse the exact encryption key from Primary",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "Webhook Processor",
      "description": "Listen on IPv6 and IPv4-compatible interfaces",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "Webhook Processor",
      "description": "Redis host used to enqueue workflow executions",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "Webhook Processor",
      "description": "Redis port used to enqueue workflow executions",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "Webhook Processor",
      "description": "PostgreSQL database shared with all n8n instances",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "Webhook Processor",
      "description": "PostgreSQL password shared with all n8n instances",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "Webhook Processor",
      "description": "Redis password provided by Railway",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "Webhook Processor",
      "description": "Redis username provided by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "Webhook Processor",
      "description": "Enable Redis connectivity over Railway dual-stack networking",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Webhook Processor",
      "description": "Improve private-network DNS compatibility on Railway",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "Webhook Processor",
      "description": "Enforce secure permissions for the n8n settings file",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-fullpack"
      }
    },
    "cli": "railway deploy --template n8n-fullpack",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "df664a66-99c3-449a-adfa-bf6c4938bf77",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "006ef156-4a50-4695-ae6b-314683ecccca": {
                  "icon": "https://devicons.railway.app/n8n",
                  "name": "Worker 1",
                  "deploy": {
                    "startCommand": "n8n worker --concurrency=10"
                  },
                  "source": {
                    "image": "n8nio/n8n"
                  },
                  "variables": {
                    "DB_TYPE": {
                      "description": "Use PostgreSQL as the shared n8n database backend",
                      "defaultValue": "postgresdb"
                    },
                    "NODE_OPTIONS": {
                      "description": "Allow the Worker Node.js process to use up to 8 GB of heap memory",
                      "defaultValue": "--max_old_space_size=8192"
                    },
                    "EXECUTIONS_MODE": {
                      "description": "Run workflow executions received from the Redis queue",
                      "defaultValue": "queue"
                    },
                    "N8N_RUNNERS_MODE": {
                      "description": "Use a separate n8nio/runners service instead of spawning internal task runners",
                      "defaultValue": "external"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "description": "PostgreSQL host shared with Primary and other workers",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "description": "PostgreSQL port shared with Primary and other workers",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "description": "PostgreSQL username shared with Primary and other workers",
                      "defaultValue": "${{Postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "description": "Reuse the Primary encryption key so credentials can be decrypted consistently",
                      "defaultValue": "${{Primary.N8N_ENCRYPTION_KEY}}"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "description": "Redis host used to receive queued executions",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "description": "Redis port used to receive queued executions",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "description": "PostgreSQL database shared with all n8n instances",
                      "defaultValue": "${{Postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "description": "PostgreSQL password shared with all n8n instances",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "Shared authentication token between Worker 1 and Runner 1",
                      "defaultValue": "{{N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "description": "Port used by the Worker task broker for external Task Runner connections",
                      "defaultValue": "5679"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "description": "Redis password provided by Railway",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "description": "Redis username provided by Railway",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "description": "Enable Redis communication over Railway dual-stack networking",
                      "defaultValue": "true"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "Improve Railway private-network DNS compatibility",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "description": "Expose the Worker task broker to Runner 1 over Railway private networking",
                      "defaultValue": "::"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "description": "Enforce secure permissions on the n8n settings file",
                      "defaultValue": "true"
                    }
                  }
                },
                "02f1e111-950c-4308-bf6d-3cf491e317f5": {
                  "icon": "https://devicons.railway.app/n8n",
                  "name": "Worker 2",
                  "source": {
                    "image": "n8nio/n8n:latest"
                  },
                  "variables": {
                    "DB_TYPE": {
                      "description": "Use PostgreSQL as the shared n8n database backend",
                      "defaultValue": "postgresdb"
                    },
                    "NODE_OPTIONS": {
                      "description": "Allow the Worker Node.js process to use up to 8 GB of heap memory",
                      "defaultValue": "--max_old_space_size=8192"
                    },
                    "EXECUTIONS_MODE": {
                      "description": "Run workflow executions received from the Redis queue",
                      "defaultValue": "queue"
                    },
                    "N8N_RUNNERS_MODE": {
                      "description": "Use Runner 2 as this Worker's external Task Runner",
                      "defaultValue": "external"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "description": "PostgreSQL host shared across the n8n cluster",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "description": "PostgreSQL port shared across the n8n cluster",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "description": "PostgreSQL username shared across the n8n cluster",
                      "defaultValue": "${{Postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "description": "Use the exact same encryption key as Primary",
                      "defaultValue": "${{Primary.N8N_ENCRYPTION_KEY}}"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "description": "Redis host used for execution queue distribution",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "description": "Redis port used for execution queue distribution",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "description": "PostgreSQL database shared across the n8n cluster",
                      "defaultValue": "${{Postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "description": "PostgreSQL password shared across the n8n cluster",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "Dedicated shared secret between Worker 2 and Runner 2",
                      "defaultValue": "{{N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "description": "Task broker port used by Runner 2",
                      "defaultValue": "5679"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "description": "Redis password provided by Railway",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "description": "Redis username provided by Railway",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "description": "Enable Redis communication over dual-stack private networking",
                      "defaultValue": "true"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "Improve Railway private-network DNS compatibility",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "description": "Expose the task broker over Railway private networking",
                      "defaultValue": "::"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "description": "Enforce secure permissions on the n8n settings file",
                      "defaultValue": "true"
                    }
                  }
                },
                "26451bd7-4490-40ae-9c06-153768900c7a": {
                  "icon": "https://devicons.railway.app/n8n",
                  "name": "Runner 1",
                  "source": {
                    "image": "n8nio/runners"
                  },
                  "variables": {
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "Authenticate Runner 1 with the Worker 1 task broker",
                      "defaultValue": "${{Worker 1.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_MAX_PAYLOAD": {
                      "description": "Maximum broker-to-runner payload size in bytes; 1 GiB matches the n8n default",
                      "defaultValue": "1073741824"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "description": "Maximum number of tasks this runner can execute concurrently",
                      "defaultValue": "5"
                    },
                    "N8N_RUNNERS_TASK_BROKER_URI": {
                      "description": "Connect Runner 1 to Worker 1 over Railway private networking",
                      "defaultValue": "http://${{Worker 1.RAILWAY_PRIVATE_DOMAIN}}:5679"
                    },
                    "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT": {
                      "description": "Stop idle runner processes after 15 seconds",
                      "defaultValue": "15"
                    },
                    "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT": {
                      "description": "Internal health-check port exposed by the Task Runner launcher",
                      "defaultValue": "5680"
                    }
                  }
                },
                "757729e6-046a-4f0b-a011-5d0b6415caf9": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data"
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "757729e6-046a-4f0b-a011-5d0b6415caf9": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "825dedee-8b21-4c0f-9f8c-207d81389688": {
                  "icon": "https://devicons.railway.app/N8N",
                  "name": "Runner 2",
                  "source": {
                    "image": "n8nio/runners:latest"
                  },
                  "variables": {
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "Authenticate Runner 2 with the Worker 2 task broker",
                      "defaultValue": "${{Worker 2.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_MAX_PAYLOAD": {
                      "description": "Maximum broker-to-runner payload size in bytes; matches n8n default",
                      "defaultValue": "1073741824"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "description": "Maximum number of concurrent tasks executed by Runner 2",
                      "defaultValue": "5"
                    },
                    "N8N_RUNNERS_TASK_BROKER_URI": {
                      "description": "Connect Runner 2 specifically to Worker 2 over Railway private networking",
                      "defaultValue": "http://${{Worker 2.RAILWAY_PRIVATE_DOMAIN}}:5679"
                    },
                    "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT": {
                      "description": "Stop idle runner processes after 15 seconds",
                      "defaultValue": "15"
                    },
                    "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT": {
                      "description": "Internal health-check port exposed by the Runner launcher",
                      "defaultValue": "5680"
                    }
                  }
                },
                "a0fd93dc-547c-41fe-be2b-c656c1764a9a": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Redis hostname on Railway private networking",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Default Redis TCP port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default Redis ACL username",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Full Redis connection string using Railway private networking",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Compatibility alias exposing the Redis password under the REDISPASSWORD variable",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated 32-character Redis password using alphabetic characters",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "a0fd93dc-547c-41fe-be2b-c656c1764a9a": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "c285cb3a-e62e-4f1e-aeb6-ec59a0fbe517": {
                  "icon": "https://devicons.railway.app/n8n",
                  "name": "Primary",
                  "source": {
                    "image": "n8nio/n8n"
                  },
                  "variables": {
                    "DB_TYPE": {
                      "description": "Use PostgreSQL as the n8n database backend",
                      "defaultValue": "postgresdb"
                    },
                    "N8N_PORT": {
                      "description": "HTTP port used by the n8n Primary instance",
                      "defaultValue": "5678"
                    },
                    "NODE_OPTIONS": {
                      "description": "Allow the Node.js process to use up to 8 GB of heap memory",
                      "defaultValue": "--max_old_space_size=8192"
                    },
                    "EXECUTIONS_MODE": {
                      "description": "Send workflow executions to Redis-backed workers instead of executing them on Primary",
                      "defaultValue": "queue"
                    },
                    "N8N_WEBHOOK_URL": {
                      "description": "Public production webhook base URL handled by the dedicated Webhook Processor",
                      "defaultValue": "https://${{Webhook Processor.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Run Primary as root",
                      "defaultValue": "0"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "description": "PostgreSQL host provided by the Railway Postgres service",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "description": "PostgreSQL port provided by the Railway Postgres service",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "description": "PostgreSQL username provided by the Railway Postgres service",
                      "defaultValue": "${{Postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "description": "Shared encryption key used to encrypt n8n credentials; must be identical across all n8n instances",
                      "defaultValue": "{{N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "description": "Listen on IPv6 and IPv4-compatible interfaces for Railway private networking",
                      "defaultValue": "::"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "description": "Public URL used to access the n8n Editor UI",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "description": "Redis host used for the n8n execution queue",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "description": "Redis port used for the n8n execution queue",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "description": "PostgreSQL database used by n8n",
                      "defaultValue": "${{Postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "description": "PostgreSQL password provided by the Railway Postgres service",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "description": "Redis password provided by Railway",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "description": "Redis username provided by Railway",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "description": "Enable Redis connectivity in dual-stack IPv4/IPv6 environments",
                      "defaultValue": "true"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "Improve private-network DNS behavior for Alpine-based containers on Railway",
                      "defaultValue": "true"
                    },
                    "N8N_DISABLE_PRODUCTION_MAIN_PROCESS": {
                      "description": "Prevent Primary from accepting production webhook traffic because a dedicated Webhook Processor is used",
                      "defaultValue": "true"
                    },
                    "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS": {
                      "description": "Execute manual workflow runs on workers instead of the Primary instance",
                      "defaultValue": "true"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "description": "Enforce secure permissions on the n8n settings file",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5678": {
                        "port": 5678
                      }
                    }
                  },
                  "volumeMounts": {
                    "c285cb3a-e62e-4f1e-aeb6-ec59a0fbe517": {
                      "mountPath": "/home/node/.n8n"
                    }
                  }
                },
                "db9ae987-58d4-4515-8f86-ca6cc14cddc4": {
                  "icon": "https://devicons.railway.app/n8n",
                  "name": "Webhook Processor",
                  "deploy": {
                    "startCommand": "n8n webhook"
                  },
                  "source": {
                    "image": "n8nio/n8n"
                  },
                  "variables": {
                    "DB_TYPE": {
                      "description": "Use PostgreSQL as the shared n8n database backend",
                      "defaultValue": "postgresdb"
                    },
                    "N8N_PORT": {
                      "description": "HTTP port used by the dedicated Webhook Processor",
                      "defaultValue": "5678"
                    },
                    "NODE_OPTIONS": {
                      "description": "Allow the Node.js process to use up to 8 GB of heap memory",
                      "defaultValue": "--max_old_space_size=8192"
                    },
                    "EXECUTIONS_MODE": {
                      "description": "Queue incoming webhook executions for workers through Redis",
                      "defaultValue": "queue"
                    },
                    "N8N_WEBHOOK_URL": {
                      "description": "Public production webhook URL served by this processor",
                      "defaultValue": "https://${{Webhook Processor.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "description": "PostgreSQL host shared with all n8n instances",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "description": "PostgreSQL port shared with all n8n instances",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "description": "PostgreSQL username shared with all n8n instances",
                      "defaultValue": "${{Postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "description": "Reuse the exact encryption key from Primary",
                      "defaultValue": "${{Primary.N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "description": "Listen on IPv6 and IPv4-compatible interfaces",
                      "defaultValue": "::"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "description": "Redis host used to enqueue workflow executions",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "description": "Redis port used to enqueue workflow executions",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "description": "PostgreSQL database shared with all n8n instances",
                      "defaultValue": "${{Postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "description": "PostgreSQL password shared with all n8n instances",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "description": "Redis password provided by Railway",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "description": "Redis username provided by Railway",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "description": "Enable Redis connectivity over Railway dual-stack networking",
                      "defaultValue": "true"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "Improve private-network DNS compatibility on Railway",
                      "defaultValue": "true"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "description": "Enforce secure permissions for the n8n settings file",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5678": {
                        "port": 5678
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 8,
    "needs_volume": true
  },
  "generated_at": "2026-09-23T16:14:58.907Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-22T03:55:02.099Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_29ced757079d43fb9957",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 143,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Runner 2"
  }
}
