{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7908eb5c-c312-493b-9de6-083879869f46",
    "slug": "n8n-20-pro-queue-mode-workers-webhooks-m",
    "name": "N8N Pro (Queue Mode with Webhooks, Workers, Code Runners, MCP & Auto-Updates)",
    "description": "🪄1-Click Deploy | High Performance N8N setup with Postgres17 + Redis + MCP",
    "url": "https://railway.com/deploy/n8n-20-pro-queue-mode-workers-webhooks-m",
    "upstream": {
      "image": "n8nio/n8n:latest"
    }
  },
  "services": [
    {
      "name": "worker",
      "source": {
        "image": "n8nio/n8n:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "redis",
      "source": {
        "image": "railwayapp/redis:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "mcp",
      "source": {
        "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "runner",
      "source": {
        "image": "n8nio/runners:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "main",
      "source": {
        "image": "n8nio/n8n:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "webhook",
      "source": {
        "image": "n8nio/n8n:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "worker",
      "description": "🌍 System-level timezone for the container environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "worker",
      "description": "🚪 TCP port where the n8n process listens for HTTP traffic",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_TYPE",
      "service": "worker",
      "description": "Database engine type (postgresdb)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_HOST",
      "service": "worker",
      "description": "🌐 The domain name where the n8n main instance is accessible",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_METRICS",
      "service": "worker",
      "description": "📊 Enable Prometheus metrics endpoint for monitoring n8n instance performance, execution counts, and system health",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEBHOOK_URL",
      "service": "worker",
      "description": "Public HTTPS endpoint for incoming webhook triggers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_PROTOCOL",
      "service": "worker",
      "description": "🔒 Force the use of HTTPS for internal URL generation",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "worker",
      "description": "Node.js runtime options (memory limits, GC tuning)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_LOG_LEVEL",
      "service": "worker",
      "description": "📝 Logging verbosity level (set to debug for detailed troubleshooting)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "worker",
      "description": "Use queue mode for distributed execution processing",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_CONCURRENCY",
      "service": "worker",
      "description": "Disable global concurrency limit (use per-worker --concurrency flag)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_TRUST_PROXY",
      "service": "worker",
      "description": "Provide a value for N8N_TRUST_PROXY.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "worker",
      "description": "🕒 Default timezone used within n8n workflows and nodes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "worker",
      "description": "🏗️ Enable task runners to process node executions externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_SECURE_COOKIE",
      "service": "worker",
      "description": "🛡️ Only send session cookies over HTTPS (essential for production)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "worker",
      "description": "PostgreSQL server hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "worker",
      "description": "PostgreSQL server port (5432)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "worker",
      "description": "PostgreSQL username for n8n connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "worker",
      "description": "🔑 Symmetric key for encrypting credentials in database",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "worker",
      "description": "Bind address for incoming connections (IPv6 dual-stack)",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "worker",
      "description": "Public URL for n8n editor UI access",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_ENABLED",
      "service": "worker",
      "description": "Enable task runners for isolated Code node execution",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK",
      "service": "worker",
      "description": "Path prefix for production webhooks that execute workflows",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_PAYLOAD_SIZE_MAX",
      "service": "worker",
      "description": "📦 Maximum allowed size (in MB) for incoming JSON request payloads",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_TEMPLATES_ENABLED",
      "service": "worker",
      "description": "📁 Enable the workflow templates library in the UI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "worker",
      "description": "Redis hostname for Bull job queue",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "worker",
      "description": "Redis port for job queue (6379)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "worker",
      "description": "PostgreSQL database name for n8n",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "worker",
      "description": "PostgreSQL password for authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "worker",
      "description": "🛡️ Shared secret token for authenticating runners with the broker",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "worker",
      "description": "🔌 Port used by the broker to communicate with task runners",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_PAYLOAD",
      "service": "worker",
      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_NATIVE_PYTHON_RUNNER",
      "service": "worker",
      "description": "🐍 Enable the native Python execution environment for Code nodes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK_TEST",
      "service": "worker",
      "description": "Path prefix for test webhooks used in the editor",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK_WAIT",
      "service": "worker",
      "description": "Path prefix for waiting webhooks that resume workflows",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "worker",
      "description": "Redis password for queue connections",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "worker",
      "description": "Redis username for authentication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_HEALTH_CHECK_ACTIVE",
      "service": "worker",
      "description": "🚦 Enable queue health monitoring and worker status checks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_FORMDATA_FILE_SIZE_MAX",
      "service": "worker",
      "description": "📁 Maximum allowed size (in MB) for file uploads via multipart/form-data",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "worker",
      "description": "Enable IPv4/IPv6 dual-stack Redis support",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "worker",
      "description": "🚀 Maximum number of concurrent tasks a single runner can handle",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_BLOCK_ENV_ACCESS_IN_NODE",
      "service": "worker",
      "description": "Blocking code nodes from accessing environment variables",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_DEFAULT_BINARY_DATA_MODE",
      "service": "worker",
      "description": "Sets storage backend for binary data (filesystem, database, or S3)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_REINSTALL_MISSING_PACKAGES",
      "service": "worker",
      "description": "Auto-install missing node packages",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RELOAD_WORKFLOWS_ON_CHANGE",
      "service": "worker",
      "description": "🔄 Ensure workers immediately pick up workflow changes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_GIT_NODE_DISABLE_BARE_REPOS",
      "service": "worker",
      "description": "⚠️ Allow Git node to use bare repositories (security risk - hooks can execute arbitrary code)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_SKIP_AUTH_ON_OAUTH_CALLBACK",
      "service": "worker",
      "description": "Skip authentication on OAuth callback endpoints (security risk in n8n 2.0 - defaults to false for enforced auth)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "worker",
      "description": "Enable Railway private networking between services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_CONCURRENCY_PRODUCTION_LIMIT",
      "service": "worker",
      "description": "Provide a value for N8N_CONCURRENCY_PRODUCTION_LIMIT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_METRICS_INCLUDE_QUEUE_METRICS",
      "service": "worker",
      "description": "📈 Include detailed Bull queue statistics (waiting, active, failed) in Prometheus metrics",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "worker",
      "description": "📍 Address the broker listens on for runner connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_DISABLE_PRODUCTION_MAIN_PROCESS",
      "service": "worker",
      "description": "Offload production webhooks from main process",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "worker",
      "description": "⏳ Grace period (in seconds) to wait for active requests to finish before shutting down old deployment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS",
      "service": "worker",
      "description": "Send UI manual executions to workers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "worker",
      "description": "Enforce 0600 permissions on config files",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE",
      "service": "worker",
      "description": "This enables AI Agents in n8n to use community node packages as tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "redis",
      "description": "🚪 Port reference for Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISHOST",
      "service": "redis",
      "description": "Hostname of the private Redis service endpoint inside Railway’s network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "redis",
      "description": "🚪 TCP port Redis listens on for client connections",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "redis",
      "description": "👤 Redis username, typically the default ACL user in secured Redis setups",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "redis",
      "description": "Full Redis connection URL for the job queue (Bull)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "redis",
      "description": "🔑 Alias for the Redis password to ensure compatibility with various clients",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis",
      "description": "🔐 Randomly generated 64-character strong password for Redis authentication",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "redis",
      "description": "⚠️ Container execution UID (0 for root); ensures permission to write persistence files",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "redis",
      "description": "🌐 External connection string for monitoring Redis via CLI or GUI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "postgres",
      "description": "🚪 Port reference for Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "postgres",
      "description": "Filesystem directory where PostgreSQL stores its data files and WAL",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "postgres",
      "description": "Hostname of the PostgreSQL server on Railway’s private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "postgres",
      "description": "🚪 TCP port PostgreSQL listens on for client connections",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "postgres",
      "description": "👤 PostgreSQL user used for client connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "postgres",
      "description": "Default PostgreSQL database name for client connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "postgres",
      "description": "🔐 Password for authenticating the PostgreSQL user",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "postgres",
      "description": "Name of the primary PostgreSQL database created at initialization",
      "secret": false,
      "strategy": "default",
      "default": "n8n"
    },
    {
      "key": "DATABASE_URL",
      "service": "postgres",
      "description": "Full PostgreSQL connection string including credentials, host, port, and database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postgres",
      "description": "👤 PostgreSQL username for superuser / application user",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "postgres",
      "description": "Validity period in days for generated SSL certificates (roughly 2.25 years)",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "🔑 Random 64-character strong password for securing the PostgreSQL user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "postgres",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "postgres",
      "description": "⏱️ Grace period in seconds allowing Postgres to cleanly shut down and flush data to disk",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "mcp",
      "description": "🚪 TCP port where the MCP server listens for incoming AI requests",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MCP_MODE",
      "service": "mcp",
      "description": "🌐 Sets the communication protocol (using HTTP for remote AI access)",
      "secret": false,
      "strategy": "default",
      "default": "http"
    },
    {
      "key": "NODE_ENV",
      "service": "mcp",
      "description": "Provide a value for NODE_ENV.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "LOG_LEVEL",
      "service": "mcp",
      "description": "📝 Logging verbosity; \"error\" ensures clean communication between the AI and MCP",
      "secret": false,
      "strategy": "default",
      "default": "error"
    },
    {
      "key": "AUTH_TOKEN",
      "service": "mcp",
      "description": "🛡️ Links the active authentication token to the generated secret below",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_ORIGIN",
      "service": "mcp",
      "description": "Provide a value for CORS_ORIGIN.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "N8N_API_KEY",
      "service": "mcp",
      "description": "🔑 API key from your n8n User Settings to allow MCP to control n8n",
      "secret": true,
      "strategy": "default",
      "default": "paste-your-actual-n8n-api-key-here"
    },
    {
      "key": "N8N_API_URL",
      "service": "mcp",
      "description": "🔗 The base URL of your main n8n instance for API calls",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "TRUST_PROXY",
      "service": "mcp",
      "description": "Provide a value for TRUST_PROXY.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AUTH_TOKEN_KEY",
      "service": "mcp",
      "description": "🔐 Auto-generated 64-character secret to secure the MCP-to-AI connection",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WEBHOOK_SECURITY_MODE",
      "service": "mcp",
      "description": "🛡️ \"strict\" enforces high security; use \"moderate\" only for local testing",
      "secret": false,
      "strategy": "default",
      "default": "strict"
    },
    {
      "key": "DISABLE_CONSOLE_OUTPUT",
      "service": "mcp",
      "description": "🔇 If true, hides logs to prevent JSON-RPC corruption (keep false unless using Stdio)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_MCP_TELEMETRY_DISABLED",
      "service": "mcp",
      "description": "🛑 Opt-out of anonymous usage data collection for privacy",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TZ",
      "service": "runner",
      "description": "🌍 System-level timezone for the runner container",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TINI_SUBREAPER",
      "service": "runner",
      "description": "Provide a value for TINI_SUBREAPER.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_TRUST_PROXY",
      "service": "runner",
      "description": "Provide a value for N8N_TRUST_PROXY.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "runner",
      "description": "🕒 Timezone inherited for code execution logic",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "runner",
      "description": "🛡️ Shared secret token to authenticate this runner with the Task Broker",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_GRANT_TOKEN",
      "service": "runner",
      "description": "Token the runner uses to authenticate with the task broker. This is automatically provided by the launcher.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_RUNNERS_MAX_PAYLOAD",
      "service": "runner",
      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_STDLIB_ALLOW",
      "service": "runner",
      "description": "📚 List of allowed Python standard library modules (* allows all)",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "N8N_RUNNERS_EXTERNAL_ALLOW",
      "service": "runner",
      "description": "📦 List of allowed external npm/pip packages for use in Code nodes",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "N8N_BLOCK_RUNNER_ENV_ACCESS",
      "service": "runner",
      "description": "🔒 Security: Prevents code executed in the runner from accessing system environment variables",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "runner",
      "description": "🚀 Maximum number of code tasks this runner can execute simultaneously",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_TASK_BROKER_URI",
      "service": "runner",
      "description": "🔗 Internal URI used to connect the runner to the task broker",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "NODE_FUNCTION_ALLOW_BUILTIN",
      "service": "runner",
      "description": "🛠️ Built-in Node.js modules allowed in the Code node (e.g., path, fs)",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "NODE_FUNCTION_ALLOW_EXTERNAL",
      "service": "runner",
      "description": "🔌 External npm packages allowed in the Code node",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_LOG_LEVEL",
      "service": "runner",
      "description": "📝 Logging verbosity for the runner's launcher process",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_OLD_SPACE_SIZE",
      "service": "runner",
      "description": "The `--max-old-space-size` option to use for a task runner (in MB). By default, Node.js will set this based on available memory.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT",
      "service": "runner",
      "description": "⏳ Minutes to wait before shutting down an idle runner (useful for serverless/auto-scaling)",
      "secret": false,
      "strategy": "default",
      "default": "15"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "runner",
      "description": "⏳ Grace period (in seconds) to wait for active tasks to finish before shutting down",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_ALLOW_PROTOTYPE_MUTATION",
      "service": "runner",
      "description": "🧪 Allows modifying JS prototypes (required for certain complex libraries in Code nodes)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT",
      "service": "runner",
      "description": "🚦 Port dedicated to the runner launcher's health check monitoring",
      "secret": false,
      "strategy": "default",
      "default": "5680"
    },
    {
      "key": "TZ",
      "service": "main",
      "description": "🌍 System-level timezone for the container environment",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "PORT",
      "service": "main",
      "description": "🚪 Port where n8n listens for incoming connections",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "DB_TYPE",
      "service": "main",
      "description": "Database type - using PostgreSQL for data storage",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "N8N_HOST",
      "service": "main",
      "description": "🌐 The domain name where the n8n main instance is accessible",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_METRICS",
      "service": "main",
      "description": "📊 Enable Prometheus metrics endpoint for monitoring n8n instance performance",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "WEBHOOK_URL",
      "service": "main",
      "description": "Public webhook URL for incoming webhook triggers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_PROTOCOL",
      "service": "main",
      "description": "🔒 Protocol used for internal URL generation (ensures generated links use https)",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "main",
      "description": "Node.js memory limit set to 8GB for handling concurrent executions",
      "secret": false,
      "strategy": "default",
      "default": "--max_old_space_size=8192"
    },
    {
      "key": "N8N_LOG_LEVEL",
      "service": "main",
      "description": "📝 Logging verbosity level (set to debug for detailed troubleshooting)",
      "secret": false,
      "strategy": "default",
      "default": "debug"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "main",
      "description": "Use queue mode with workers for distributed execution",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_CONCURRENCY",
      "service": "main",
      "description": "Disable global concurrency limit (use per-worker --concurrency flag)",
      "secret": false,
      "strategy": "default",
      "default": "-1"
    },
    {
      "key": "N8N_TRUST_PROXY",
      "service": "main",
      "description": "Provide a value for N8N_TRUST_PROXY.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "main",
      "description": "🕒 Default timezone used within n8n workflows and nodes",
      "secret": false,
      "strategy": "default",
      "default": "Europe/Zurich"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "main",
      "description": "🏗️ Enable task runners to process node executions outside the main process",
      "secret": false,
      "strategy": "default",
      "default": "external"
    },
    {
      "key": "N8N_SECURE_COOKIE",
      "service": "main",
      "description": "🛡️ Only send session cookies over HTTPS (essential for production)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "main",
      "description": "PostgreSQL server hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "main",
      "description": "PostgreSQL server port number",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "main",
      "description": "PostgreSQL username for authentication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "main",
      "description": "🔑 Encryption key for sensitive data stored in database",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "main",
      "description": "Listen on all IPv6 addresses (and IPv4 via dual-stack)",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "main",
      "description": "Public URL for n8n editor UI access",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_RUNNERS_ENABLED",
      "service": "main",
      "description": "✅ Enable the use of Task Runners for improved scalability",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK",
      "service": "main",
      "description": "Path prefix for production webhooks that execute workflows",
      "secret": false,
      "strategy": "default",
      "default": "hook"
    },
    {
      "key": "N8N_PAYLOAD_SIZE_MAX",
      "service": "main",
      "description": "📦 Maximum allowed size (in MB) for incoming JSON request payloads",
      "secret": false,
      "strategy": "default",
      "default": "1024"
    },
    {
      "key": "N8N_TEMPLATES_ENABLED",
      "service": "main",
      "description": "📁 Enable the workflow templates library in the UI",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "main",
      "description": "Redis server hostname for job queue",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "main",
      "description": "Redis server port for job queue",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "main",
      "description": "PostgreSQL database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "main",
      "description": "PostgreSQL password for authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "main",
      "description": "🛡️ Shared secret token for authenticating runners with the broker",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "main",
      "description": "🔌 Port used by the broker to communicate with task runners",
      "secret": false,
      "strategy": "default",
      "default": "5679"
    },
    {
      "key": "N8N_RUNNERS_MAX_PAYLOAD",
      "service": "main",
      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
      "secret": false,
      "strategy": "default",
      "default": "1073741824"
    },
    {
      "key": "N8N_NATIVE_PYTHON_RUNNER",
      "service": "main",
      "description": "🐍 Enable the native Python execution environment for Code nodes",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK_TEST",
      "service": "main",
      "description": "Path prefix for test webhooks used in the editor",
      "secret": false,
      "strategy": "default",
      "default": "test"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK_WAIT",
      "service": "main",
      "description": "Path prefix for waiting webhooks that resume waiting workflows when called",
      "secret": false,
      "strategy": "default",
      "default": "waiting"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "main",
      "description": "Redis password for authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "main",
      "description": "Redis username for authentication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_HEALTH_CHECK_ACTIVE",
      "service": "main",
      "description": "🚦 Enable queue health monitoring and worker status checks",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_FORMDATA_FILE_SIZE_MAX",
      "service": "main",
      "description": "📁 Maximum allowed size (in MB) for file uploads via multipart/form-data",
      "secret": false,
      "strategy": "default",
      "default": "1024"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "main",
      "description": "Enable IPv4 and IPv6 dual-stack support for Redis connections",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "main",
      "description": "🚀 Maximum number of concurrent tasks a single runner can handle",
      "secret": false,
      "strategy": "default",
      "default": "20"
    },
    {
      "key": "N8N_BLOCK_ENV_ACCESS_IN_NODE",
      "service": "main",
      "description": "Blocking code-nodes from accessing environment variables",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_DEFAULT_BINARY_DATA_MODE",
      "service": "main",
      "description": "Sets the storage backend for binary data (e.g. files) during executions",
      "secret": false,
      "strategy": "default",
      "default": "database"
    },
    {
      "key": "N8N_REINSTALL_MISSING_PACKAGES",
      "service": "main",
      "description": "Automatically install missing npm packages for nodes",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RELOAD_WORKFLOWS_ON_CHANGE",
      "service": "main",
      "description": "🔄 Ensure workers immediately pick up changes made in the editor",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_MAX_OLD_SPACE_SIZE",
      "service": "main",
      "description": "The `--max-old-space-size` option to use for a task runner (in MB). By default, Node.js will set this based on available memory.",
      "secret": false,
      "strategy": "default",
      "default": "8192"
    },
    {
      "key": "N8N_GIT_NODE_DISABLE_BARE_REPOS",
      "service": "main",
      "description": "⚠️ Allow Git node to use bare repositories (security risk - hooks can execute arbitrary code)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_SKIP_AUTH_ON_OAUTH_CALLBACK",
      "service": "main",
      "description": "Skip authentication on OAuth callback endpoints (security risk in n8n 2.0 - defaults to false for enforced auth)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "main",
      "description": "Enable private networking for Railway services communication",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_CONCURRENCY_PRODUCTION_LIMIT",
      "service": "main",
      "description": "Provide a value for N8N_CONCURRENCY_PRODUCTION_LIMIT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_METRICS_INCLUDE_QUEUE_METRICS",
      "service": "main",
      "description": "📈 Include detailed Bull queue statistics (waiting, active, failed) in Prometheus metrics",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "main",
      "description": "📍 Address the broker listens on for runner connections",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_DISABLE_PRODUCTION_MAIN_PROCESS",
      "service": "main",
      "description": "Offload production webhook processing to workers instead of main process",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "main",
      "description": "⏳ Grace period (in seconds) to wait for active requests to finish before shutting down old deployment",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS",
      "service": "main",
      "description": "Route manual workflow executions (UI \"Run\" button) to workers instead of main instance",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "main",
      "description": "Enforce 0600 file permissions on configuration files for security",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE",
      "service": "main",
      "description": "This enables AI Agents in n8n to use community node packages as tools",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TZ",
      "service": "webhook",
      "description": "🌍 System-level timezone for the container environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "webhook",
      "description": "🚪 TCP port where the n8n process listens for HTTP traffic",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_TYPE",
      "service": "webhook",
      "description": "Database engine type used by n8n (PostgreSQL in this setup)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_HOST",
      "service": "webhook",
      "description": "🌐 The domain name where the n8n main instance is accessible",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_METRICS",
      "service": "webhook",
      "description": "📊 Enable Prometheus metrics endpoint for monitoring n8n instance performance",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEBHOOK_URL",
      "service": "webhook",
      "description": "Public HTTPS endpoint used for incoming n8n webhooks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_PROTOCOL",
      "service": "webhook",
      "description": "🔒 Protocol used for the instance (set to https for production)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "webhook",
      "description": "Node.js runtime flags such as memory limits or GC tuning",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_LOG_LEVEL",
      "service": "webhook",
      "description": "📝 Logging verbosity level (set to debug for detailed troubleshooting)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "webhook",
      "description": "Select execution mode; “queue” uses workers via Redis",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_CONCURRENCY",
      "service": "webhook",
      "description": "Disable global concurrency limit (use per-worker flags)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_TRUST_PROXY",
      "service": "webhook",
      "description": "Provide a value for N8N_TRUST_PROXY.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "webhook",
      "description": "🕒 Default timezone used within n8n workflows and nodes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "webhook",
      "description": "🏗️ Enable task runners to process node executions externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_SECURE_COOKIE",
      "service": "webhook",
      "description": "🛡️ Only send session cookies over HTTPS (essential for security)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "webhook",
      "description": "Hostname of the PostgreSQL server on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "webhook",
      "description": "TCP port PostgreSQL listens on (usually 5432)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "webhook",
      "description": "PostgreSQL username used by n8n to connect",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "webhook",
      "description": "🔑 Symmetric key used to encrypt credentials at rest",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "webhook",
      "description": "Bind to all IPv6 interfaces (and IPv4 via dual-stack)",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "webhook",
      "description": "Public URL for n8n editor UI access",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_ENABLED",
      "service": "webhook",
      "description": "Turn on task runners to isolate Code node execution",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK",
      "service": "webhook",
      "description": "Path prefix for production webhooks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_PAYLOAD_SIZE_MAX",
      "service": "webhook",
      "description": "📦 Maximum allowed size (in MB) for incoming JSON request payloads",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_TEMPLATES_ENABLED",
      "service": "webhook",
      "description": "📁 Enable the workflow templates library in the UI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "webhook",
      "description": "Redis server hostname used for Bull job queues",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "webhook",
      "description": "TCP port Redis listens on (usually 6379)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "webhook",
      "description": "Name of the PostgreSQL database n8n will use",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "webhook",
      "description": "Password for authenticating the PostgreSQL user",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "webhook",
      "description": "🛡️ Shared secret token for authenticating runners with the broker",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "webhook",
      "description": "🔌 Port used by the broker to communicate with task runners",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_PAYLOAD",
      "service": "webhook",
      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_NATIVE_PYTHON_RUNNER",
      "service": "webhook",
      "description": "🐍 Enable the native Python execution environment for Code nodes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK_TEST",
      "service": "webhook",
      "description": "Path prefix for test webhooks used in the editor",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENDPOINT_WEBHOOK_WAIT",
      "service": "webhook",
      "description": "Path prefix for waiting webhooks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "webhook",
      "description": "Redis password for authenticating queue connections",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "webhook",
      "description": "Redis username for ACL‑based authentication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_HEALTH_CHECK_ACTIVE",
      "service": "webhook",
      "description": "🚦 Enable queue health monitoring and worker status checks",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_FORMDATA_FILE_SIZE_MAX",
      "service": "webhook",
      "description": "📁 Maximum allowed size (in MB) for file uploads via multipart/form-data",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "webhook",
      "description": "Enable IPv4/IPv6 dual-stack support for Redis",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "webhook",
      "description": "🚀 Maximum number of concurrent tasks a single runner can handle",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_BLOCK_ENV_ACCESS_IN_NODE",
      "service": "webhook",
      "description": "Blocking code-nodes from accessing environment variables",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_DEFAULT_BINARY_DATA_MODE",
      "service": "webhook",
      "description": "💾 Sets the storage backend for binary data during executions",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_REINSTALL_MISSING_PACKAGES",
      "service": "webhook",
      "description": "Auto-install missing node packages",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RELOAD_WORKFLOWS_ON_CHANGE",
      "service": "webhook",
      "description": "🔄 Ensure workers immediately pick up workflow changes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_GIT_NODE_DISABLE_BARE_REPOS",
      "service": "webhook",
      "description": "Allow Git node to use bare repositories (security risk)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_SKIP_AUTH_ON_OAUTH_CALLBACK",
      "service": "webhook",
      "description": "Skip authentication on OAuth callback endpoints",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "webhook",
      "description": "Enable private networking for Railway services communication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_CONCURRENCY_PRODUCTION_LIMIT",
      "service": "webhook",
      "description": "Provide a value for N8N_CONCURRENCY_PRODUCTION_LIMIT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_METRICS_INCLUDE_QUEUE_METRICS",
      "service": "webhook",
      "description": "📈 Include detailed Bull queue statistics (waiting, active, failed) in Prometheus metrics",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "webhook",
      "description": "📍 Address the broker listens on for runner connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_DISABLE_PRODUCTION_MAIN_PROCESS",
      "service": "webhook",
      "description": "Offload production webhook processing to workers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "webhook",
      "description": "⏳ Grace period (in seconds) to wait for active requests to finish before shutting down old deployment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS",
      "service": "webhook",
      "description": "Send manual “Run” executions to workers",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "webhook",
      "description": "Enforce strict 0600 permissions on n8n config files",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE",
      "service": "webhook",
      "description": "Allows AI Agents to use community node packages as tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-20-pro-queue-mode-workers-webhooks-m"
      }
    },
    "cli": "railway deploy --template n8n-20-pro-queue-mode-workers-webhooks-m",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7908eb5c-c312-493b-9de6-083879869f46",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1fb9692b-7017-4348-9cb9-7a94048fd94b": {
                  "icon": "https://devicons.railway.app/i/n8n.svg",
                  "name": "worker",
                  "deploy": {
                    "startCommand": "n8n worker --concurrency=20",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "n8nio/n8n:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "TZ": {
                      "description": "🌍 System-level timezone for the container environment",
                      "defaultValue": "${{main.TZ}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "🚪 TCP port where the n8n process listens for HTTP traffic",
                      "defaultValue": "${{main.PORT}}"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Database engine type (postgresdb)",
                      "defaultValue": "${{main.DB_TYPE}}"
                    },
                    "N8N_HOST": {
                      "isOptional": false,
                      "description": "🌐 The domain name where the n8n main instance is accessible",
                      "defaultValue": "${{main.N8N_HOST}}"
                    },
                    "N8N_METRICS": {
                      "isOptional": false,
                      "description": "📊 Enable Prometheus metrics endpoint for monitoring n8n instance performance, execution counts, and system health",
                      "defaultValue": "${{main.N8N_METRICS}}"
                    },
                    "WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Public HTTPS endpoint for incoming webhook triggers",
                      "defaultValue": "https://${{webhook.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_PROTOCOL": {
                      "description": "🔒 Force the use of HTTPS for internal URL generation",
                      "defaultValue": "${{main.N8N_PROTOCOL}}"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "Node.js runtime options (memory limits, GC tuning)",
                      "defaultValue": "${{main.NODE_OPTIONS}}"
                    },
                    "N8N_LOG_LEVEL": {
                      "description": "📝 Logging verbosity level (set to debug for detailed troubleshooting)",
                      "defaultValue": "${{main.N8N_LOG_LEVEL}}"
                    },
                    "EXECUTIONS_MODE": {
                      "isOptional": false,
                      "description": "Use queue mode for distributed execution processing",
                      "defaultValue": "${{main.EXECUTIONS_MODE}}"
                    },
                    "N8N_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Disable global concurrency limit (use per-worker --concurrency flag)",
                      "defaultValue": "${{main.N8N_CONCURRENCY}}"
                    },
                    "N8N_TRUST_PROXY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{main.N8N_TRUST_PROXY}}"
                    },
                    "GENERIC_TIMEZONE": {
                      "description": "🕒 Default timezone used within n8n workflows and nodes",
                      "defaultValue": "${{main.GENERIC_TIMEZONE}}"
                    },
                    "N8N_RUNNERS_MODE": {
                      "description": "🏗️ Enable task runners to process node executions externally",
                      "defaultValue": "${{main.N8N_RUNNERS_MODE}}"
                    },
                    "N8N_SECURE_COOKIE": {
                      "description": "🛡️ Only send session cookies over HTTPS (essential for production)",
                      "defaultValue": "${{main.N8N_SECURE_COOKIE}}"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "isOptional": false,
                      "description": "PostgreSQL server hostname",
                      "defaultValue": "${{postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "isOptional": false,
                      "description": "PostgreSQL server port (5432)",
                      "defaultValue": "${{postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL username for n8n connections",
                      "defaultValue": "${{postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "🔑 Symmetric key for encrypting credentials in database",
                      "defaultValue": "${{main.N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Bind address for incoming connections (IPv6 dual-stack)",
                      "defaultValue": "::"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL for n8n editor UI access",
                      "defaultValue": "${{main.N8N_EDITOR_BASE_URL}}"
                    },
                    "N8N_RUNNERS_ENABLED": {
                      "isOptional": false,
                      "description": "Enable task runners for isolated Code node execution",
                      "defaultValue": "${{main.N8N_RUNNERS_ENABLED}}"
                    },
                    "N8N_ENDPOINT_WEBHOOK": {
                      "isOptional": false,
                      "description": "Path prefix for production webhooks that execute workflows",
                      "defaultValue": "${{main.N8N_ENDPOINT_WEBHOOK}}"
                    },
                    "N8N_PAYLOAD_SIZE_MAX": {
                      "description": "📦 Maximum allowed size (in MB) for incoming JSON request payloads",
                      "defaultValue": "${{main.N8N_PAYLOAD_SIZE_MAX}}"
                    },
                    "N8N_TEMPLATES_ENABLED": {
                      "isOptional": false,
                      "description": "📁 Enable the workflow templates library in the UI",
                      "defaultValue": "${{main.N8N_TEMPLATES_ENABLED}}"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis hostname for Bull job queue",
                      "defaultValue": "${{redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port for job queue (6379)",
                      "defaultValue": "${{redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "isOptional": false,
                      "description": "PostgreSQL database name for n8n",
                      "defaultValue": "${{postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password for authentication",
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "🛡️ Shared secret token for authenticating runners with the broker",
                      "defaultValue": "${{main.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "description": "🔌 Port used by the broker to communicate with task runners",
                      "defaultValue": "${{main.N8N_RUNNERS_BROKER_PORT}}"
                    },
                    "N8N_RUNNERS_MAX_PAYLOAD": {
                      "isOptional": false,
                      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_PAYLOAD}}"
                    },
                    "N8N_NATIVE_PYTHON_RUNNER": {
                      "description": "🐍 Enable the native Python execution environment for Code nodes",
                      "defaultValue": "${{main.N8N_NATIVE_PYTHON_RUNNER}}"
                    },
                    "N8N_ENDPOINT_WEBHOOK_TEST": {
                      "isOptional": false,
                      "description": "Path prefix for test webhooks used in the editor",
                      "defaultValue": "${{main.N8N_ENDPOINT_WEBHOOK_TEST}}"
                    },
                    "N8N_ENDPOINT_WEBHOOK_WAIT": {
                      "isOptional": false,
                      "description": "Path prefix for waiting webhooks that resume workflows",
                      "defaultValue": "${{main.N8N_ENDPOINT_WEBHOOK_WAIT}}"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password for queue connections",
                      "defaultValue": "${{redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username for authentication",
                      "defaultValue": "${{redis.REDISUSER}}"
                    },
                    "QUEUE_HEALTH_CHECK_ACTIVE": {
                      "isOptional": false,
                      "description": "🚦 Enable queue health monitoring and worker status checks",
                      "defaultValue": "${{main.QUEUE_HEALTH_CHECK_ACTIVE}}"
                    },
                    "N8N_FORMDATA_FILE_SIZE_MAX": {
                      "description": "📁 Maximum allowed size (in MB) for file uploads via multipart/form-data",
                      "defaultValue": "${{main.N8N_FORMDATA_FILE_SIZE_MAX}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "isOptional": false,
                      "description": "Enable IPv4/IPv6 dual-stack Redis support",
                      "defaultValue": "${{main.QUEUE_BULL_REDIS_DUALSTACK}}"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "description": "🚀 Maximum number of concurrent tasks a single runner can handle",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_CONCURRENCY}}"
                    },
                    "N8N_BLOCK_ENV_ACCESS_IN_NODE": {
                      "isOptional": false,
                      "description": "Blocking code nodes from accessing environment variables",
                      "defaultValue": "${{main.N8N_BLOCK_ENV_ACCESS_IN_NODE}}"
                    },
                    "N8N_DEFAULT_BINARY_DATA_MODE": {
                      "isOptional": false,
                      "description": "Sets storage backend for binary data (filesystem, database, or S3)",
                      "defaultValue": "${{main.N8N_DEFAULT_BINARY_DATA_MODE}}"
                    },
                    "N8N_REINSTALL_MISSING_PACKAGES": {
                      "isOptional": false,
                      "description": "Auto-install missing node packages",
                      "defaultValue": "${{main.N8N_REINSTALL_MISSING_PACKAGES}}"
                    },
                    "N8N_RELOAD_WORKFLOWS_ON_CHANGE": {
                      "description": "🔄 Ensure workers immediately pick up workflow changes",
                      "defaultValue": "${{main.N8N_RELOAD_WORKFLOWS_ON_CHANGE}}"
                    },
                    "N8N_GIT_NODE_DISABLE_BARE_REPOS": {
                      "isOptional": false,
                      "description": "⚠️ Allow Git node to use bare repositories (security risk - hooks can execute arbitrary code)",
                      "defaultValue": "${{main.N8N_GIT_NODE_DISABLE_BARE_REPOS}}"
                    },
                    "N8N_SKIP_AUTH_ON_OAUTH_CALLBACK": {
                      "isOptional": false,
                      "description": "Skip authentication on OAuth callback endpoints (security risk in n8n 2.0 - defaults to false for enforced auth)",
                      "defaultValue": "${{main.N8N_SKIP_AUTH_ON_OAUTH_CALLBACK}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "description": "Enable Railway private networking between services",
                      "defaultValue": "${{main.ENABLE_ALPINE_PRIVATE_NETWORKING}}"
                    },
                    "N8N_CONCURRENCY_PRODUCTION_LIMIT": {
                      "isOptional": false,
                      "defaultValue": "${{main.N8N_CONCURRENCY_PRODUCTION_LIMIT}}"
                    },
                    "N8N_METRICS_INCLUDE_QUEUE_METRICS": {
                      "description": "📈 Include detailed Bull queue statistics (waiting, active, failed) in Prometheus metrics",
                      "defaultValue": "${{main.N8N_METRICS_INCLUDE_QUEUE_METRICS}}"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "description": "📍 Address the broker listens on for runner connections",
                      "defaultValue": "${{main.N8N_RUNNERS_BROKER_LISTEN_ADDRESS}}"
                    },
                    "N8N_DISABLE_PRODUCTION_MAIN_PROCESS": {
                      "isOptional": false,
                      "description": "Offload production webhooks from main process",
                      "defaultValue": "${{main.N8N_DISABLE_PRODUCTION_MAIN_PROCESS}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "description": "⏳ Grace period (in seconds) to wait for active requests to finish before shutting down old deployment",
                      "defaultValue": "${{main.RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    },
                    "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS": {
                      "isOptional": false,
                      "description": "Send UI manual executions to workers",
                      "defaultValue": "${{main.OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS}}"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "isOptional": false,
                      "description": "Enforce 0600 permissions on config files",
                      "defaultValue": "${{main.N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS}}"
                    },
                    "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE": {
                      "description": "This enables AI Agents in n8n to use community node packages as tools",
                      "defaultValue": "${{main.N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "4a9f8593-9076-45e1-97e7-fea041b3187e": {
                  "icon": "https://img.icons8.com/color/48/redis--v1.png",
                  "name": "redis",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "railwayapp/redis:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "🚪 Port reference for Railway",
                      "defaultValue": "${{REDISPORT}}"
                    },
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Hostname of the private Redis service endpoint inside Railway’s network",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "🚪 TCP port Redis listens on for client connections",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "👤 Redis username, typically the default ACL user in secured Redis setups",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Full Redis connection URL for the job queue (Bull)",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "🔑 Alias for the Redis password to ensure compatibility with various clients",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "🔐 Randomly generated 64-character strong password for Redis authentication",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "⚠️ Container execution UID (0 for root); ensures permission to write persistence files",
                      "defaultValue": "0"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "🌐 External connection string for monitoring Redis via CLI or GUI",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "4a9f8593-9076-45e1-97e7-fea041b3187e": {
                      "mountPath": "/bitnami",
                      "backupSchedules": [
                        "DAILY",
                        "WEEKLY",
                        "MONTHLY"
                      ]
                    }
                  }
                },
                "733628a3-671d-4e05-b9a4-60f6c342c56e": {
                  "icon": "https://img.icons8.com/color/48/postgreesql.png",
                  "name": "postgres",
                  "deploy": {
                    "startCommand": "",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "🚪 Port reference for Railway",
                      "defaultValue": "${{PGPORT}}"
                    },
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Filesystem directory where PostgreSQL stores its data files and WAL",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Hostname of the PostgreSQL server on Railway’s private network",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "🚪 TCP port PostgreSQL listens on for client connections",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "👤 PostgreSQL user used for client connections",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Default PostgreSQL database name for client connections",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "🔐 Password for authenticating the PostgreSQL user",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Name of the primary PostgreSQL database created at initialization",
                      "defaultValue": "n8n"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Full PostgreSQL connection string including credentials, host, port, and database",
                      "defaultValue": "postgres://${{POSTGRES_USER}}:${{POSTGRES_PASSWORD}}@${{PGHOST}}:${{PGPORT}}/${{POSTGRES_DB}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "👤 PostgreSQL username for superuser / application user",
                      "defaultValue": "railway"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity period in days for generated SSL certificates (roughly 2.25 years)",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "🔑 Random 64-character strong password for securing the PostgreSQL user",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{POSTGRES_USER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{POSTGRES_DB}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "description": "⏱️ Grace period in seconds allowing Postgres to cleanly shut down and flush data to disk",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    }
                  },
                  "volumeMounts": {
                    "733628a3-671d-4e05-b9a4-60f6c342c56e": {
                      "mountPath": "/var/lib/postgresql/data",
                      "backupSchedules": [
                        "DAILY",
                        "WEEKLY",
                        "MONTHLY"
                      ]
                    }
                  },
                  "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."
                  }
                },
                "b05ffc40-ff13-4fdb-8d7f-7b3d57817a0e": {
                  "icon": "https://devicons.railway.app/i/n8n.svg",
                  "name": "mcp",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "🚪 TCP port where the MCP server listens for incoming AI requests",
                      "defaultValue": "8080"
                    },
                    "MCP_MODE": {
                      "isOptional": false,
                      "description": "🌐 Sets the communication protocol (using HTTP for remote AI access)",
                      "defaultValue": "http"
                    },
                    "NODE_ENV": {
                      "defaultValue": "production"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "📝 Logging verbosity; \"error\" ensures clean communication between the AI and MCP",
                      "defaultValue": "error"
                    },
                    "AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "🛡️ Links the active authentication token to the generated secret below",
                      "defaultValue": "${{AUTH_TOKEN_KEY}}"
                    },
                    "CORS_ORIGIN": {
                      "defaultValue": "*"
                    },
                    "N8N_API_KEY": {
                      "isOptional": false,
                      "description": "🔑 API key from your n8n User Settings to allow MCP to control n8n",
                      "defaultValue": "paste-your-actual-n8n-api-key-here"
                    },
                    "N8N_API_URL": {
                      "isOptional": false,
                      "description": "🔗 The base URL of your main n8n instance for API calls",
                      "defaultValue": "https://${{main.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "TRUST_PROXY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "AUTH_TOKEN_KEY": {
                      "isOptional": false,
                      "description": "🔐 Auto-generated 64-character secret to secure the MCP-to-AI connection",
                      "defaultValue": "{{AUTH_TOKEN_KEY}}"
                    },
                    "WEBHOOK_SECURITY_MODE": {
                      "isOptional": false,
                      "description": "🛡️ \"strict\" enforces high security; use \"moderate\" only for local testing",
                      "defaultValue": "strict"
                    },
                    "DISABLE_CONSOLE_OUTPUT": {
                      "isOptional": false,
                      "description": "🔇 If true, hides logs to prevent JSON-RPC corruption (keep false unless using Stdio)",
                      "defaultValue": "false"
                    },
                    "N8N_MCP_TELEMETRY_DISABLED": {
                      "isOptional": false,
                      "description": "🛑 Opt-out of anonymous usage data collection for privacy",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "bc59bad8-60b5-4f9f-80f9-46871de1a67b": {
                  "icon": "https://devicons.railway.app/i/n8n.svg",
                  "name": "runner",
                  "source": {
                    "image": "n8nio/runners:latest"
                  },
                  "variables": {
                    "TZ": {
                      "description": "🌍 System-level timezone for the runner container",
                      "defaultValue": "${{main.TZ}}"
                    },
                    "TINI_SUBREAPER": {
                      "defaultValue": "true"
                    },
                    "N8N_TRUST_PROXY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{worker.N8N_TRUST_PROXY}}"
                    },
                    "GENERIC_TIMEZONE": {
                      "description": "🕒 Timezone inherited for code execution logic",
                      "defaultValue": "${{main.GENERIC_TIMEZONE}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "🛡️ Shared secret token to authenticate this runner with the Task Broker",
                      "defaultValue": "${{main.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_GRANT_TOKEN": {
                      "isOptional": false,
                      "description": "Token the runner uses to authenticate with the task broker. This is automatically provided by the launcher.",
                      "defaultValue": "{{N8N_RUNNERS_GRANT_TOKEN}}"
                    },
                    "N8N_RUNNERS_MAX_PAYLOAD": {
                      "isOptional": false,
                      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_PAYLOAD}}"
                    },
                    "N8N_RUNNERS_STDLIB_ALLOW": {
                      "description": "📚 List of allowed Python standard library modules (* allows all)",
                      "defaultValue": "*"
                    },
                    "N8N_RUNNERS_EXTERNAL_ALLOW": {
                      "description": "📦 List of allowed external npm/pip packages for use in Code nodes",
                      "defaultValue": "*"
                    },
                    "N8N_BLOCK_RUNNER_ENV_ACCESS": {
                      "description": "🔒 Security: Prevents code executed in the runner from accessing system environment variables",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "description": "🚀 Maximum number of code tasks this runner can execute simultaneously",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_CONCURRENCY}}"
                    },
                    "N8N_RUNNERS_TASK_BROKER_URI": {
                      "description": "🔗 Internal URI used to connect the runner to the task broker",
                      "defaultValue": "http://${{worker.RAILWAY_PRIVATE_DOMAIN}}:${{worker.N8N_RUNNERS_BROKER_PORT}}"
                    },
                    "NODE_FUNCTION_ALLOW_BUILTIN": {
                      "description": "🛠️ Built-in Node.js modules allowed in the Code node (e.g., path, fs)",
                      "defaultValue": "*"
                    },
                    "NODE_FUNCTION_ALLOW_EXTERNAL": {
                      "description": "🔌 External npm packages allowed in the Code node",
                      "defaultValue": "*"
                    },
                    "N8N_RUNNERS_LAUNCHER_LOG_LEVEL": {
                      "description": "📝 Logging verbosity for the runner's launcher process",
                      "defaultValue": "${{main.N8N_LOG_LEVEL}}"
                    },
                    "N8N_RUNNERS_MAX_OLD_SPACE_SIZE": {
                      "isOptional": false,
                      "description": "The `--max-old-space-size` option to use for a task runner (in MB). By default, Node.js will set this based on available memory.",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_OLD_SPACE_SIZE}}"
                    },
                    "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT": {
                      "description": "⏳ Minutes to wait before shutting down an idle runner (useful for serverless/auto-scaling)",
                      "defaultValue": "15"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "description": "⏳ Grace period (in seconds) to wait for active tasks to finish before shutting down",
                      "defaultValue": "${{main.RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    },
                    "N8N_RUNNERS_ALLOW_PROTOTYPE_MUTATION": {
                      "description": "🧪 Allows modifying JS prototypes (required for certain complex libraries in Code nodes)",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT": {
                      "description": "🚦 Port dedicated to the runner launcher's health check monitoring",
                      "defaultValue": "5680"
                    }
                  }
                },
                "db6a9dea-e73b-42ba-ac20-639b51ce22fa": {
                  "icon": "https://devicons.railway.app/i/n8n.svg",
                  "name": "main",
                  "deploy": {
                    "startCommand": "n8n start",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "n8nio/n8n:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "TZ": {
                      "description": "🌍 System-level timezone for the container environment",
                      "defaultValue": "Etc/UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "🚪 Port where n8n listens for incoming connections",
                      "defaultValue": "5678"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Database type - using PostgreSQL for data storage",
                      "defaultValue": "postgresdb"
                    },
                    "N8N_HOST": {
                      "isOptional": false,
                      "description": "🌐 The domain name where the n8n main instance is accessible",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_METRICS": {
                      "isOptional": false,
                      "description": "📊 Enable Prometheus metrics endpoint for monitoring n8n instance performance",
                      "defaultValue": "true"
                    },
                    "WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Public webhook URL for incoming webhook triggers",
                      "defaultValue": "https://${{webhook.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_PROTOCOL": {
                      "description": "🔒 Protocol used for internal URL generation (ensures generated links use https)",
                      "defaultValue": "https"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "Node.js memory limit set to 8GB for handling concurrent executions",
                      "defaultValue": "--max_old_space_size=8192"
                    },
                    "N8N_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "📝 Logging verbosity level (set to debug for detailed troubleshooting)",
                      "defaultValue": "debug"
                    },
                    "EXECUTIONS_MODE": {
                      "isOptional": false,
                      "description": "Use queue mode with workers for distributed execution",
                      "defaultValue": "queue"
                    },
                    "N8N_CONCURRENCY": {
                      "description": "Disable global concurrency limit (use per-worker --concurrency flag)",
                      "defaultValue": "-1"
                    },
                    "N8N_TRUST_PROXY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "GENERIC_TIMEZONE": {
                      "description": "🕒 Default timezone used within n8n workflows and nodes",
                      "defaultValue": "Europe/Zurich"
                    },
                    "N8N_RUNNERS_MODE": {
                      "description": "🏗️ Enable task runners to process node executions outside the main process",
                      "defaultValue": "external"
                    },
                    "N8N_SECURE_COOKIE": {
                      "isOptional": false,
                      "description": "🛡️ Only send session cookies over HTTPS (essential for production)",
                      "defaultValue": "true"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "isOptional": false,
                      "description": "PostgreSQL server hostname",
                      "defaultValue": "${{postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "isOptional": false,
                      "description": "PostgreSQL server port number",
                      "defaultValue": "${{postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL username for authentication",
                      "defaultValue": "${{postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "🔑 Encryption key for sensitive data stored in database",
                      "defaultValue": "{{N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Listen on all IPv6 addresses (and IPv4 via dual-stack)",
                      "defaultValue": "::"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL for n8n editor UI access",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_RUNNERS_ENABLED": {
                      "isOptional": false,
                      "description": "✅ Enable the use of Task Runners for improved scalability",
                      "defaultValue": "true"
                    },
                    "N8N_ENDPOINT_WEBHOOK": {
                      "isOptional": false,
                      "description": "Path prefix for production webhooks that execute workflows",
                      "defaultValue": "hook"
                    },
                    "N8N_PAYLOAD_SIZE_MAX": {
                      "description": "📦 Maximum allowed size (in MB) for incoming JSON request payloads",
                      "defaultValue": "1024"
                    },
                    "N8N_TEMPLATES_ENABLED": {
                      "description": "📁 Enable the workflow templates library in the UI",
                      "defaultValue": "true"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis server hostname for job queue",
                      "defaultValue": "${{redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis server port for job queue",
                      "defaultValue": "${{redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "isOptional": false,
                      "description": "PostgreSQL database name",
                      "defaultValue": "${{postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password for authentication",
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "🛡️ Shared secret token for authenticating runners with the broker",
                      "defaultValue": "{{N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "description": "🔌 Port used by the broker to communicate with task runners",
                      "defaultValue": "5679"
                    },
                    "N8N_RUNNERS_MAX_PAYLOAD": {
                      "isOptional": false,
                      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
                      "defaultValue": "1073741824"
                    },
                    "N8N_NATIVE_PYTHON_RUNNER": {
                      "description": "🐍 Enable the native Python execution environment for Code nodes",
                      "defaultValue": "true"
                    },
                    "N8N_ENDPOINT_WEBHOOK_TEST": {
                      "isOptional": false,
                      "description": "Path prefix for test webhooks used in the editor",
                      "defaultValue": "test"
                    },
                    "N8N_ENDPOINT_WEBHOOK_WAIT": {
                      "isOptional": false,
                      "description": "Path prefix for waiting webhooks that resume waiting workflows when called",
                      "defaultValue": "waiting"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password for authentication",
                      "defaultValue": "${{redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username for authentication",
                      "defaultValue": "${{redis.REDISUSER}}"
                    },
                    "QUEUE_HEALTH_CHECK_ACTIVE": {
                      "isOptional": false,
                      "description": "🚦 Enable queue health monitoring and worker status checks",
                      "defaultValue": "true"
                    },
                    "N8N_FORMDATA_FILE_SIZE_MAX": {
                      "description": "📁 Maximum allowed size (in MB) for file uploads via multipart/form-data",
                      "defaultValue": "1024"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "isOptional": false,
                      "description": "Enable IPv4 and IPv6 dual-stack support for Redis connections",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "description": "🚀 Maximum number of concurrent tasks a single runner can handle",
                      "defaultValue": "20"
                    },
                    "N8N_BLOCK_ENV_ACCESS_IN_NODE": {
                      "isOptional": false,
                      "description": "Blocking code-nodes from accessing environment variables",
                      "defaultValue": "true"
                    },
                    "N8N_DEFAULT_BINARY_DATA_MODE": {
                      "isOptional": false,
                      "description": "Sets the storage backend for binary data (e.g. files) during executions",
                      "defaultValue": "database"
                    },
                    "N8N_REINSTALL_MISSING_PACKAGES": {
                      "isOptional": false,
                      "description": "Automatically install missing npm packages for nodes",
                      "defaultValue": "true"
                    },
                    "N8N_RELOAD_WORKFLOWS_ON_CHANGE": {
                      "description": "🔄 Ensure workers immediately pick up changes made in the editor",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_MAX_OLD_SPACE_SIZE": {
                      "isOptional": false,
                      "description": "The `--max-old-space-size` option to use for a task runner (in MB). By default, Node.js will set this based on available memory.",
                      "defaultValue": "8192"
                    },
                    "N8N_GIT_NODE_DISABLE_BARE_REPOS": {
                      "isOptional": false,
                      "description": "⚠️ Allow Git node to use bare repositories (security risk - hooks can execute arbitrary code)",
                      "defaultValue": "false"
                    },
                    "N8N_SKIP_AUTH_ON_OAUTH_CALLBACK": {
                      "isOptional": false,
                      "description": "Skip authentication on OAuth callback endpoints (security risk in n8n 2.0 - defaults to false for enforced auth)",
                      "defaultValue": "false"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "description": "Enable private networking for Railway services communication",
                      "defaultValue": "true"
                    },
                    "N8N_CONCURRENCY_PRODUCTION_LIMIT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{N8N_CONCURRENCY}}"
                    },
                    "N8N_METRICS_INCLUDE_QUEUE_METRICS": {
                      "description": "📈 Include detailed Bull queue statistics (waiting, active, failed) in Prometheus metrics",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "description": "📍 Address the broker listens on for runner connections",
                      "defaultValue": "::"
                    },
                    "N8N_DISABLE_PRODUCTION_MAIN_PROCESS": {
                      "isOptional": false,
                      "description": "Offload production webhook processing to workers instead of main process",
                      "defaultValue": "true"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "description": "⏳ Grace period (in seconds) to wait for active requests to finish before shutting down old deployment",
                      "defaultValue": "60"
                    },
                    "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS": {
                      "isOptional": false,
                      "description": "Route manual workflow executions (UI \"Run\" button) to workers instead of main instance",
                      "defaultValue": "true"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "isOptional": false,
                      "description": "Enforce 0600 file permissions on configuration files for security",
                      "defaultValue": "true"
                    },
                    "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE": {
                      "isOptional": false,
                      "description": "This enables AI Agents in n8n to use community node packages as tools",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e9f58147-2292-4af2-8aa0-76f6c48a0911": {
                  "icon": "https://devicons.railway.app/i/n8n.svg",
                  "name": "webhook",
                  "deploy": {
                    "startCommand": "n8n webhook",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "n8nio/n8n:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "🌍 System-level timezone for the container environment",
                      "defaultValue": "${{main.TZ}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "🚪 TCP port where the n8n process listens for HTTP traffic",
                      "defaultValue": "${{main.PORT}}"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Database engine type used by n8n (PostgreSQL in this setup)",
                      "defaultValue": "${{main.DB_TYPE}}"
                    },
                    "N8N_HOST": {
                      "isOptional": false,
                      "description": "🌐 The domain name where the n8n main instance is accessible",
                      "defaultValue": "${{main.N8N_HOST}}"
                    },
                    "N8N_METRICS": {
                      "isOptional": false,
                      "description": "📊 Enable Prometheus metrics endpoint for monitoring n8n instance performance",
                      "defaultValue": "${{main.N8N_METRICS}}"
                    },
                    "WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Public HTTPS endpoint used for incoming n8n webhooks",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_PROTOCOL": {
                      "description": "🔒 Protocol used for the instance (set to https for production)",
                      "defaultValue": "${{main.N8N_PROTOCOL}}"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "Node.js runtime flags such as memory limits or GC tuning",
                      "defaultValue": "${{main.NODE_OPTIONS}}"
                    },
                    "N8N_LOG_LEVEL": {
                      "description": "📝 Logging verbosity level (set to debug for detailed troubleshooting)",
                      "defaultValue": "${{main.N8N_LOG_LEVEL}}"
                    },
                    "EXECUTIONS_MODE": {
                      "isOptional": false,
                      "description": "Select execution mode; “queue” uses workers via Redis",
                      "defaultValue": "${{main.EXECUTIONS_MODE}}"
                    },
                    "N8N_CONCURRENCY": {
                      "description": "Disable global concurrency limit (use per-worker flags)",
                      "defaultValue": "${{main.N8N_CONCURRENCY}}"
                    },
                    "N8N_TRUST_PROXY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{main.N8N_TRUST_PROXY}}"
                    },
                    "GENERIC_TIMEZONE": {
                      "isOptional": false,
                      "description": "🕒 Default timezone used within n8n workflows and nodes",
                      "defaultValue": "${{main.GENERIC_TIMEZONE}}"
                    },
                    "N8N_RUNNERS_MODE": {
                      "description": "🏗️ Enable task runners to process node executions externally",
                      "defaultValue": "${{main.N8N_RUNNERS_MODE}}"
                    },
                    "N8N_SECURE_COOKIE": {
                      "description": "🛡️ Only send session cookies over HTTPS (essential for security)",
                      "defaultValue": "${{main.N8N_SECURE_COOKIE}}"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "isOptional": false,
                      "description": "Hostname of the PostgreSQL server on the private network",
                      "defaultValue": "${{postgres.PGHOST}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "isOptional": false,
                      "description": "TCP port PostgreSQL listens on (usually 5432)",
                      "defaultValue": "${{postgres.PGPORT}}"
                    },
                    "DB_POSTGRESDB_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL username used by n8n to connect",
                      "defaultValue": "${{postgres.POSTGRES_USER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "🔑 Symmetric key used to encrypt credentials at rest",
                      "defaultValue": "${{main.N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Bind to all IPv6 interfaces (and IPv4 via dual-stack)",
                      "defaultValue": "::"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL for n8n editor UI access",
                      "defaultValue": "${{main.N8N_EDITOR_BASE_URL}}"
                    },
                    "N8N_RUNNERS_ENABLED": {
                      "isOptional": false,
                      "description": "Turn on task runners to isolate Code node execution",
                      "defaultValue": "${{main.N8N_RUNNERS_ENABLED}}"
                    },
                    "N8N_ENDPOINT_WEBHOOK": {
                      "isOptional": false,
                      "description": "Path prefix for production webhooks",
                      "defaultValue": "${{main.N8N_ENDPOINT_WEBHOOK}}"
                    },
                    "N8N_PAYLOAD_SIZE_MAX": {
                      "description": "📦 Maximum allowed size (in MB) for incoming JSON request payloads",
                      "defaultValue": "${{main.N8N_PAYLOAD_SIZE_MAX}}"
                    },
                    "N8N_TEMPLATES_ENABLED": {
                      "isOptional": false,
                      "description": "📁 Enable the workflow templates library in the UI",
                      "defaultValue": "${{main.N8N_TEMPLATES_ENABLED}}"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis server hostname used for Bull job queues",
                      "defaultValue": "${{redis.REDISHOST}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "isOptional": false,
                      "description": "TCP port Redis listens on (usually 6379)",
                      "defaultValue": "${{redis.REDISPORT}}"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "isOptional": false,
                      "description": "Name of the PostgreSQL database n8n will use",
                      "defaultValue": "${{postgres.POSTGRES_DB}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for authenticating the PostgreSQL user",
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "🛡️ Shared secret token for authenticating runners with the broker",
                      "defaultValue": "${{main.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "description": "🔌 Port used by the broker to communicate with task runners",
                      "defaultValue": "${{main.N8N_RUNNERS_BROKER_PORT}}"
                    },
                    "N8N_RUNNERS_MAX_PAYLOAD": {
                      "description": "Maximum payload size in bytes for communication between a task broker and a task runner",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_PAYLOAD}}"
                    },
                    "N8N_NATIVE_PYTHON_RUNNER": {
                      "description": "🐍 Enable the native Python execution environment for Code nodes",
                      "defaultValue": "${{main.N8N_NATIVE_PYTHON_RUNNER}}"
                    },
                    "N8N_ENDPOINT_WEBHOOK_TEST": {
                      "isOptional": false,
                      "description": "Path prefix for test webhooks used in the editor",
                      "defaultValue": "${{main.N8N_ENDPOINT_WEBHOOK_TEST}}"
                    },
                    "N8N_ENDPOINT_WEBHOOK_WAIT": {
                      "isOptional": false,
                      "description": "Path prefix for waiting webhooks",
                      "defaultValue": "${{main.N8N_ENDPOINT_WEBHOOK_WAIT}}"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password for authenticating queue connections",
                      "defaultValue": "${{redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username for ACL‑based authentication",
                      "defaultValue": "${{redis.REDISUSER}}"
                    },
                    "QUEUE_HEALTH_CHECK_ACTIVE": {
                      "isOptional": false,
                      "description": "🚦 Enable queue health monitoring and worker status checks",
                      "defaultValue": "${{main.QUEUE_HEALTH_CHECK_ACTIVE}}"
                    },
                    "N8N_FORMDATA_FILE_SIZE_MAX": {
                      "description": "📁 Maximum allowed size (in MB) for file uploads via multipart/form-data",
                      "defaultValue": "${{main.N8N_FORMDATA_FILE_SIZE_MAX}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "isOptional": false,
                      "description": "Enable IPv4/IPv6 dual-stack support for Redis",
                      "defaultValue": "${{main.QUEUE_BULL_REDIS_DUALSTACK}}"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "description": "🚀 Maximum number of concurrent tasks a single runner can handle",
                      "defaultValue": "${{main.N8N_RUNNERS_MAX_CONCURRENCY}}"
                    },
                    "N8N_BLOCK_ENV_ACCESS_IN_NODE": {
                      "isOptional": false,
                      "description": "Blocking code-nodes from accessing environment variables",
                      "defaultValue": "${{main.N8N_BLOCK_ENV_ACCESS_IN_NODE}}"
                    },
                    "N8N_DEFAULT_BINARY_DATA_MODE": {
                      "isOptional": false,
                      "description": "💾 Sets the storage backend for binary data during executions",
                      "defaultValue": "${{main.N8N_DEFAULT_BINARY_DATA_MODE}}"
                    },
                    "N8N_REINSTALL_MISSING_PACKAGES": {
                      "isOptional": false,
                      "description": "Auto-install missing node packages",
                      "defaultValue": "${{main.N8N_REINSTALL_MISSING_PACKAGES}}"
                    },
                    "N8N_RELOAD_WORKFLOWS_ON_CHANGE": {
                      "description": "🔄 Ensure workers immediately pick up workflow changes",
                      "defaultValue": "${{main.N8N_RELOAD_WORKFLOWS_ON_CHANGE}}"
                    },
                    "N8N_GIT_NODE_DISABLE_BARE_REPOS": {
                      "isOptional": false,
                      "description": "Allow Git node to use bare repositories (security risk)",
                      "defaultValue": "${{main.N8N_GIT_NODE_DISABLE_BARE_REPOS}}"
                    },
                    "N8N_SKIP_AUTH_ON_OAUTH_CALLBACK": {
                      "isOptional": false,
                      "description": "Skip authentication on OAuth callback endpoints",
                      "defaultValue": "${{main.N8N_SKIP_AUTH_ON_OAUTH_CALLBACK}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "description": "Enable private networking for Railway services communication",
                      "defaultValue": "${{main.ENABLE_ALPINE_PRIVATE_NETWORKING}}"
                    },
                    "N8N_CONCURRENCY_PRODUCTION_LIMIT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{main.N8N_CONCURRENCY_PRODUCTION_LIMIT}}"
                    },
                    "N8N_METRICS_INCLUDE_QUEUE_METRICS": {
                      "description": "📈 Include detailed Bull queue statistics (waiting, active, failed) in Prometheus metrics",
                      "defaultValue": "${{main.N8N_METRICS_INCLUDE_QUEUE_METRICS}}"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "description": "📍 Address the broker listens on for runner connections",
                      "defaultValue": "${{main.N8N_RUNNERS_BROKER_LISTEN_ADDRESS}}"
                    },
                    "N8N_DISABLE_PRODUCTION_MAIN_PROCESS": {
                      "isOptional": false,
                      "description": "Offload production webhook processing to workers",
                      "defaultValue": "${{main.N8N_DISABLE_PRODUCTION_MAIN_PROCESS}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "description": "⏳ Grace period (in seconds) to wait for active requests to finish before shutting down old deployment",
                      "defaultValue": "${{main.RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    },
                    "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS": {
                      "isOptional": false,
                      "description": "Send manual “Run” executions to workers",
                      "defaultValue": "${{main.OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS}}"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "isOptional": false,
                      "description": "Enforce strict 0600 permissions on n8n config files",
                      "defaultValue": "${{main.N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS}}"
                    },
                    "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE": {
                      "isOptional": false,
                      "description": "Allows AI Agents to use community node packages as tools",
                      "defaultValue": "${{main.N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "worker",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 7,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T23:38:53.422Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a44ff242be8846289e93",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 141,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "runner"
  }
}
