{
  "manifest_version": "1.0.0",
  "template": {
    "id": "85eb9041-875b-4a53-8651-e7a6579f4ce1",
    "slug": "n8n-queue-stack",
    "name": "n8n Queue Stack [Updated Sep'26]",
    "description": "Queue-mode n8n: main, worker, Redis, Postgres. All images pinned.",
    "url": "https://railway.com/deploy/n8n-queue-stack",
    "upstream": {
      "image": "ghcr.io/n8n-io/n8n"
    }
  },
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "n8n",
      "source": {
        "image": "ghcr.io/n8n-io/n8n"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "n8n-runner",
      "source": {
        "image": "ghcr.io/n8n-io/runners"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "n8n-worker",
      "source": {
        "image": "ghcr.io/n8n-io/n8n"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "TZ",
      "service": "n8n",
      "description": "TZ",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "n8n",
      "description": "HTTP listen port",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "DB_TYPE",
      "service": "n8n",
      "description": "Use Postgres backend",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "N8N_HOST",
      "service": "n8n",
      "description": "Public hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_PORT",
      "service": "n8n",
      "description": "n8n application port",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "N8N_PROTOCOL",
      "service": "n8n",
      "description": "Public URL scheme",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "n8n",
      "description": "V8 heap ceiling in MB",
      "secret": false,
      "strategy": "default",
      "default": "--max-old-space-size=2048"
    },
    {
      "key": "N8N_PROXY_HOPS",
      "service": "n8n",
      "description": "Trust Railway edge proxy",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "n8n",
      "description": "Enqueue executions to workers",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_WEBHOOK_URL",
      "service": "n8n",
      "description": "Webhook base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "n8n",
      "description": "Timezone for cron triggers",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "n8n",
      "description": "Code nodes run in sidecar",
      "secret": false,
      "strategy": "default",
      "default": "external"
    },
    {
      "key": "N8N_SECURE_COOKIE",
      "service": "n8n",
      "description": "Secure session cookies over HTTPS",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "n8n",
      "description": "Postgres private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "n8n",
      "description": "DB_POSTGRESDB_PORT",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "n8n",
      "description": "Postgres username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "n8n",
      "description": "Encrypts stored credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "n8n",
      "description": "Dual-stack bind for private network",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "n8n",
      "description": "Editor base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "QUEUE_BULL_REDIS_DB",
      "service": "n8n",
      "description": "Redis database index",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "DB_POSTGRESDB_SCHEMA",
      "service": "n8n",
      "description": "Postgres schema",
      "secret": false,
      "strategy": "default",
      "default": "public"
    },
    {
      "key": "EXECUTIONS_DATA_PRUNE",
      "service": "n8n",
      "description": "Auto-prune execution history",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "n8n",
      "description": "Redis private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "n8n",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "n8n",
      "description": "Postgres database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "n8n",
      "description": "Postgres password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "n8n",
      "description": "Shared task runner token",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_POSTGRESDB_POOL_SIZE",
      "service": "n8n",
      "description": "Max database connections",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "N8N_DIAGNOSTICS_ENABLED",
      "service": "n8n",
      "description": "Disable telemetry",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "n8n",
      "description": "Task broker port",
      "secret": false,
      "strategy": "default",
      "default": "5679"
    },
    {
      "key": "N8N_NATIVE_PYTHON_RUNNER",
      "service": "n8n",
      "description": "Enable Python code runner",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_TASK_TIMEOUT",
      "service": "n8n",
      "description": "Max code task seconds",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "N8N_HIRING_BANNER_ENABLED",
      "service": "n8n",
      "description": "Hide console hiring banner",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "n8n",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "n8n",
      "description": "Redis ACL username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "n8n",
      "description": "Required for IPv6 private network",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_SSRF_PROTECTION_ENABLED",
      "service": "n8n",
      "description": "Block private-range HTTP targets",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_BLOCK_ENV_ACCESS_IN_NODE",
      "service": "n8n",
      "description": "Hide env vars from code nodes",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_DEFAULT_BINARY_DATA_MODE",
      "service": "n8n",
      "description": "Store binary data in Postgres",
      "secret": false,
      "strategy": "default",
      "default": "database"
    },
    {
      "key": "N8N_GRACEFUL_SHUTDOWN_TIMEOUT",
      "service": "n8n",
      "description": "Shutdown drain seconds",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "N8N_REINSTALL_MISSING_PACKAGES",
      "service": "n8n",
      "description": "Reinstall community nodes on boot",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_GIT_NODE_DISABLE_BARE_REPOS",
      "service": "n8n",
      "description": "Disallow bare repos in Git node",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_UNVERIFIED_PACKAGES_ENABLED",
      "service": "n8n",
      "description": "Block unverified community packages",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "n8n",
      "description": "Dual-stack broker bind",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES",
      "service": "n8n",
      "description": "Max entries per archive",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS",
      "service": "n8n",
      "description": "Editor runs execute on workers",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "n8n",
      "description": "Harden settings file permissions",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE",
      "service": "n8n",
      "description": "Max binary file size MiB",
      "secret": false,
      "strategy": "default",
      "default": "256"
    },
    {
      "key": "N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES",
      "service": "n8n",
      "description": "Decompression size ceiling",
      "secret": false,
      "strategy": "default",
      "default": "268435456"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "TZ",
      "service": "n8n-runner",
      "description": "Container system timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "n8n-runner",
      "description": "Timezone for code execution",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "n8n-runner",
      "description": "Shared task runner token",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "n8n-runner",
      "description": "Concurrent code tasks per runner",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "N8N_RUNNERS_TASK_BROKER_URI",
      "service": "n8n-runner",
      "description": "Worker task broker endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_LOG_LEVEL",
      "service": "n8n-runner",
      "description": "Launcher log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "N8N_RUNNERS_MAX_OLD_SPACE_SIZE",
      "service": "n8n-runner",
      "description": "Runner V8 heap ceiling in MB",
      "secret": false,
      "strategy": "default",
      "default": "1024"
    },
    {
      "key": "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT",
      "service": "n8n-runner",
      "description": "Never auto-shutdown the launcher",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT",
      "service": "n8n-runner",
      "description": "Launcher health check port",
      "secret": false,
      "strategy": "default",
      "default": "5680"
    },
    {
      "key": "TZ",
      "service": "n8n-worker",
      "description": "Container system timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "n8n-worker",
      "description": "Health check listen port",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "DB_TYPE",
      "service": "n8n-worker",
      "description": "Use Postgres backend",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "n8n-worker",
      "description": "V8 heap ceiling in MB",
      "secret": false,
      "strategy": "default",
      "default": "--max-old-space-size=2048"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "n8n-worker",
      "description": "Consume executions from queue",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "N8N_WEBHOOK_URL",
      "service": "n8n-worker",
      "description": "Webhook base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "n8n-worker",
      "description": "Timezone for cron triggers",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "n8n-worker",
      "description": "Code nodes run in sidecar",
      "secret": false,
      "strategy": "default",
      "default": "external"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "n8n-worker",
      "description": "Postgres private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "n8n-worker",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "n8n-worker",
      "description": "Postgres username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "n8n-worker",
      "description": "Must match main instance",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_LISTEN_ADDRESS",
      "service": "n8n-worker",
      "description": "Dual-stack bind for private network",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "n8n-worker",
      "description": "Editor base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "QUEUE_BULL_REDIS_DB",
      "service": "n8n-worker",
      "description": "Redis database index",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "DB_POSTGRESDB_SCHEMA",
      "service": "n8n-worker",
      "description": "Postgres schema",
      "secret": false,
      "strategy": "default",
      "default": "public"
    },
    {
      "key": "EXECUTIONS_DATA_PRUNE",
      "service": "n8n-worker",
      "description": "Auto-prune execution history",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "QUEUE_BULL_REDIS_HOST",
      "service": "n8n-worker",
      "description": "Redis private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "QUEUE_BULL_REDIS_PORT",
      "service": "n8n-worker",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "n8n-worker",
      "description": "Postgres database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "n8n-worker",
      "description": "Postgres password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "n8n-worker",
      "description": "Shared task runner token",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_POOL_SIZE",
      "service": "n8n-worker",
      "description": "Max database connections",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "N8N_DIAGNOSTICS_ENABLED",
      "service": "n8n-worker",
      "description": "Disable telemetry",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_RUNNERS_BROKER_PORT",
      "service": "n8n-worker",
      "description": "Task broker port",
      "secret": false,
      "strategy": "default",
      "default": "5679"
    },
    {
      "key": "QUEUE_HEALTH_CHECK_PORT",
      "service": "n8n-worker",
      "description": "Worker health check port",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "N8N_NATIVE_PYTHON_RUNNER",
      "service": "n8n-worker",
      "description": "Enable Python code runner",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_RUNNERS_TASK_TIMEOUT",
      "service": "n8n-worker",
      "description": "Max code task seconds",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "QUEUE_BULL_REDIS_PASSWORD",
      "service": "n8n-worker",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_BULL_REDIS_USERNAME",
      "service": "n8n-worker",
      "description": "Redis ACL username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "QUEUE_HEALTH_CHECK_ACTIVE",
      "service": "n8n-worker",
      "description": "Expose worker health endpoint",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "QUEUE_BULL_REDIS_DUALSTACK",
      "service": "n8n-worker",
      "description": "Required for IPv6 private network",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_SSRF_PROTECTION_ENABLED",
      "service": "n8n-worker",
      "description": "Block private-range HTTP targets",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_BLOCK_ENV_ACCESS_IN_NODE",
      "service": "n8n-worker",
      "description": "Hide env vars from code nodes",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_DEFAULT_BINARY_DATA_MODE",
      "service": "n8n-worker",
      "description": "Store binary data in Postgres",
      "secret": false,
      "strategy": "default",
      "default": "database"
    },
    {
      "key": "N8N_GRACEFUL_SHUTDOWN_TIMEOUT",
      "service": "n8n-worker",
      "description": "Shutdown drain seconds",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "N8N_REINSTALL_MISSING_PACKAGES",
      "service": "n8n-worker",
      "description": "Reinstall community nodes on boot",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_GIT_NODE_DISABLE_BARE_REPOS",
      "service": "n8n-worker",
      "description": "Disallow bare repos in Git node",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_UNVERIFIED_PACKAGES_ENABLED",
      "service": "n8n-worker",
      "description": "Block unverified community packages",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_RUNNERS_BROKER_LISTEN_ADDRESS",
      "service": "n8n-worker",
      "description": "Dual-stack broker bind",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES",
      "service": "n8n-worker",
      "description": "Max entries per archive",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS",
      "service": "n8n-worker",
      "description": "Accept editor test runs",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "n8n-worker",
      "description": "Harden settings file permissions",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE",
      "service": "n8n-worker",
      "description": "Max binary file size MiB",
      "secret": false,
      "strategy": "default",
      "default": "256"
    },
    {
      "key": "N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES",
      "service": "n8n-worker",
      "description": "Decompression size ceiling",
      "secret": false,
      "strategy": "default",
      "default": "268435456"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-queue-stack"
      }
    },
    "cli": "railway deploy --template n8n-queue-stack",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "85eb9041-875b-4a53-8651-e7a6579f4ce1",
            "serializedConfig": {
              "services": {
                "011a995e-4277-4ac1-9329-64dac800396b": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data"
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "011a995e-4277-4ac1-9329-64dac800396b": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "10a62ca8-d671-46ce-b789-da710e4af7eb": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n",
                  "source": {
                    "image": "ghcr.io/n8n-io/n8n"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "TZ",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP listen port",
                      "defaultValue": "5678"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Use Postgres backend",
                      "defaultValue": "postgresdb"
                    },
                    "N8N_HOST": {
                      "isOptional": false,
                      "description": "Public hostname",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_PORT": {
                      "isOptional": false,
                      "description": "n8n application port",
                      "defaultValue": "5678"
                    },
                    "N8N_PROTOCOL": {
                      "isOptional": false,
                      "description": "Public URL scheme",
                      "defaultValue": "https"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "V8 heap ceiling in MB",
                      "defaultValue": "--max-old-space-size=2048"
                    },
                    "N8N_PROXY_HOPS": {
                      "isOptional": false,
                      "description": "Trust Railway edge proxy",
                      "defaultValue": "1"
                    },
                    "EXECUTIONS_MODE": {
                      "isOptional": false,
                      "description": "Enqueue executions to workers",
                      "defaultValue": "queue"
                    },
                    "N8N_WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Webhook base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GENERIC_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone for cron triggers",
                      "defaultValue": "UTC"
                    },
                    "N8N_RUNNERS_MODE": {
                      "isOptional": false,
                      "description": "Code nodes run in sidecar",
                      "defaultValue": "external"
                    },
                    "N8N_SECURE_COOKIE": {
                      "isOptional": false,
                      "description": "Secure session cookies over HTTPS",
                      "defaultValue": "true"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "isOptional": false,
                      "description": "Postgres private host",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "isOptional": false,
                      "description": "DB_POSTGRESDB_PORT",
                      "defaultValue": "5432"
                    },
                    "DB_POSTGRESDB_USER": {
                      "isOptional": false,
                      "description": "Postgres username",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored credentials",
                      "defaultValue": "{{N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Dual-stack bind for private network",
                      "defaultValue": "::"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "isOptional": false,
                      "description": "Editor base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "QUEUE_BULL_REDIS_DB": {
                      "isOptional": false,
                      "description": "Redis database index",
                      "defaultValue": "0"
                    },
                    "DB_POSTGRESDB_SCHEMA": {
                      "isOptional": false,
                      "description": "Postgres schema",
                      "defaultValue": "public"
                    },
                    "EXECUTIONS_DATA_PRUNE": {
                      "isOptional": false,
                      "description": "Auto-prune execution history",
                      "defaultValue": "true"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private host",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "isOptional": false,
                      "description": "Postgres database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Shared task runner token",
                      "defaultValue": "{{N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "DB_POSTGRESDB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Max database connections",
                      "defaultValue": "4"
                    },
                    "N8N_DIAGNOSTICS_ENABLED": {
                      "isOptional": false,
                      "description": "Disable telemetry",
                      "defaultValue": "false"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "isOptional": false,
                      "description": "Task broker port",
                      "defaultValue": "5679"
                    },
                    "N8N_NATIVE_PYTHON_RUNNER": {
                      "isOptional": false,
                      "description": "Enable Python code runner",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_TASK_TIMEOUT": {
                      "isOptional": false,
                      "description": "Max code task seconds",
                      "defaultValue": "300"
                    },
                    "N8N_HIRING_BANNER_ENABLED": {
                      "isOptional": false,
                      "description": "Hide console hiring banner",
                      "defaultValue": "false"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis ACL username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "isOptional": false,
                      "description": "Required for IPv6 private network",
                      "defaultValue": "true"
                    },
                    "N8N_SSRF_PROTECTION_ENABLED": {
                      "isOptional": false,
                      "description": "Block private-range HTTP targets",
                      "defaultValue": "true"
                    },
                    "N8N_BLOCK_ENV_ACCESS_IN_NODE": {
                      "isOptional": false,
                      "description": "Hide env vars from code nodes",
                      "defaultValue": "true"
                    },
                    "N8N_DEFAULT_BINARY_DATA_MODE": {
                      "isOptional": false,
                      "description": "Store binary data in Postgres",
                      "defaultValue": "database"
                    },
                    "N8N_GRACEFUL_SHUTDOWN_TIMEOUT": {
                      "isOptional": false,
                      "description": "Shutdown drain seconds",
                      "defaultValue": "30"
                    },
                    "N8N_REINSTALL_MISSING_PACKAGES": {
                      "isOptional": false,
                      "description": "Reinstall community nodes on boot",
                      "defaultValue": "true"
                    },
                    "N8N_GIT_NODE_DISABLE_BARE_REPOS": {
                      "isOptional": false,
                      "description": "Disallow bare repos in Git node",
                      "defaultValue": "true"
                    },
                    "N8N_UNVERIFIED_PACKAGES_ENABLED": {
                      "isOptional": false,
                      "description": "Block unverified community packages",
                      "defaultValue": "false"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Dual-stack broker bind",
                      "defaultValue": "::"
                    },
                    "N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES": {
                      "isOptional": false,
                      "description": "Max entries per archive",
                      "defaultValue": "1000"
                    },
                    "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS": {
                      "isOptional": false,
                      "description": "Editor runs execute on workers",
                      "defaultValue": "true"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "isOptional": false,
                      "description": "Harden settings file permissions",
                      "defaultValue": "true"
                    },
                    "N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE": {
                      "isOptional": false,
                      "description": "Max binary file size MiB",
                      "defaultValue": "256"
                    },
                    "N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES": {
                      "isOptional": false,
                      "description": "Decompression size ceiling",
                      "defaultValue": "268435456"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5678": {
                        "port": 5678
                      }
                    }
                  }
                },
                "b61456b2-2fbc-4be0-852e-8346b1cde4dd": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port that Redis listens on",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Username for authenticating with Redis",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to Redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Randomly generated password for authenticating with Redis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "b61456b2-2fbc-4be0-852e-8346b1cde4dd": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha"
                },
                "c2673ce4-54fa-41a5-92f6-15e2d9cdc7b4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n-runner",
                  "source": {
                    "image": "ghcr.io/n8n-io/runners"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container system timezone",
                      "defaultValue": "UTC"
                    },
                    "GENERIC_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone for code execution",
                      "defaultValue": "UTC"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Shared task runner token",
                      "defaultValue": "${{n8n.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Concurrent code tasks per runner",
                      "defaultValue": "5"
                    },
                    "N8N_RUNNERS_TASK_BROKER_URI": {
                      "isOptional": false,
                      "description": "Worker task broker endpoint",
                      "defaultValue": "http://${{n8n-worker.RAILWAY_PRIVATE_DOMAIN}}:5679"
                    },
                    "N8N_RUNNERS_LAUNCHER_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Launcher log verbosity",
                      "defaultValue": "info"
                    },
                    "N8N_RUNNERS_MAX_OLD_SPACE_SIZE": {
                      "isOptional": false,
                      "description": "Runner V8 heap ceiling in MB",
                      "defaultValue": "1024"
                    },
                    "N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT": {
                      "isOptional": false,
                      "description": "Never auto-shutdown the launcher",
                      "defaultValue": "0"
                    },
                    "N8N_RUNNERS_LAUNCHER_HEALTH_CHECK_PORT": {
                      "isOptional": false,
                      "description": "Launcher health check port",
                      "defaultValue": "5680"
                    }
                  }
                },
                "f6939d7b-4897-49cc-a53e-e3843524d71e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n-worker",
                  "source": {
                    "image": "ghcr.io/n8n-io/n8n"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container system timezone",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Health check listen port",
                      "defaultValue": "5678"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Use Postgres backend",
                      "defaultValue": "postgresdb"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "V8 heap ceiling in MB",
                      "defaultValue": "--max-old-space-size=2048"
                    },
                    "EXECUTIONS_MODE": {
                      "isOptional": false,
                      "description": "Consume executions from queue",
                      "defaultValue": "queue"
                    },
                    "N8N_WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Webhook base URL",
                      "defaultValue": "https://${{n8n.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GENERIC_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone for cron triggers",
                      "defaultValue": "UTC"
                    },
                    "N8N_RUNNERS_MODE": {
                      "isOptional": false,
                      "description": "Code nodes run in sidecar",
                      "defaultValue": "external"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "isOptional": false,
                      "description": "Postgres private host",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "DB_POSTGRESDB_USER": {
                      "isOptional": false,
                      "description": "Postgres username",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Must match main instance",
                      "defaultValue": "${{n8n.N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Dual-stack bind for private network",
                      "defaultValue": "::"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "isOptional": false,
                      "description": "Editor base URL",
                      "defaultValue": "https://${{n8n.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "QUEUE_BULL_REDIS_DB": {
                      "isOptional": false,
                      "description": "Redis database index",
                      "defaultValue": "0"
                    },
                    "DB_POSTGRESDB_SCHEMA": {
                      "isOptional": false,
                      "description": "Postgres schema",
                      "defaultValue": "public"
                    },
                    "EXECUTIONS_DATA_PRUNE": {
                      "isOptional": false,
                      "description": "Auto-prune execution history",
                      "defaultValue": "true"
                    },
                    "QUEUE_BULL_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private host",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "QUEUE_BULL_REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "isOptional": false,
                      "description": "Postgres database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Shared task runner token",
                      "defaultValue": "${{n8n.N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "DB_POSTGRESDB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Max database connections",
                      "defaultValue": "4"
                    },
                    "N8N_DIAGNOSTICS_ENABLED": {
                      "isOptional": false,
                      "description": "Disable telemetry",
                      "defaultValue": "false"
                    },
                    "N8N_RUNNERS_BROKER_PORT": {
                      "isOptional": false,
                      "description": "Task broker port",
                      "defaultValue": "5679"
                    },
                    "QUEUE_HEALTH_CHECK_PORT": {
                      "isOptional": false,
                      "description": "Worker health check port",
                      "defaultValue": "5678"
                    },
                    "N8N_NATIVE_PYTHON_RUNNER": {
                      "isOptional": false,
                      "description": "Enable Python code runner",
                      "defaultValue": "true"
                    },
                    "N8N_RUNNERS_TASK_TIMEOUT": {
                      "isOptional": false,
                      "description": "Max code task seconds",
                      "defaultValue": "300"
                    },
                    "QUEUE_BULL_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "QUEUE_BULL_REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis ACL username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "QUEUE_HEALTH_CHECK_ACTIVE": {
                      "isOptional": false,
                      "description": "Expose worker health endpoint",
                      "defaultValue": "true"
                    },
                    "QUEUE_BULL_REDIS_DUALSTACK": {
                      "isOptional": false,
                      "description": "Required for IPv6 private network",
                      "defaultValue": "true"
                    },
                    "N8N_SSRF_PROTECTION_ENABLED": {
                      "isOptional": false,
                      "description": "Block private-range HTTP targets",
                      "defaultValue": "true"
                    },
                    "N8N_BLOCK_ENV_ACCESS_IN_NODE": {
                      "isOptional": false,
                      "description": "Hide env vars from code nodes",
                      "defaultValue": "true"
                    },
                    "N8N_DEFAULT_BINARY_DATA_MODE": {
                      "isOptional": false,
                      "description": "Store binary data in Postgres",
                      "defaultValue": "database"
                    },
                    "N8N_GRACEFUL_SHUTDOWN_TIMEOUT": {
                      "isOptional": false,
                      "description": "Shutdown drain seconds",
                      "defaultValue": "30"
                    },
                    "N8N_REINSTALL_MISSING_PACKAGES": {
                      "isOptional": false,
                      "description": "Reinstall community nodes on boot",
                      "defaultValue": "true"
                    },
                    "N8N_GIT_NODE_DISABLE_BARE_REPOS": {
                      "isOptional": false,
                      "description": "Disallow bare repos in Git node",
                      "defaultValue": "true"
                    },
                    "N8N_UNVERIFIED_PACKAGES_ENABLED": {
                      "isOptional": false,
                      "description": "Block unverified community packages",
                      "defaultValue": "false"
                    },
                    "N8N_RUNNERS_BROKER_LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "Dual-stack broker bind",
                      "defaultValue": "::"
                    },
                    "N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES": {
                      "isOptional": false,
                      "description": "Max entries per archive",
                      "defaultValue": "1000"
                    },
                    "OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS": {
                      "isOptional": false,
                      "description": "Accept editor test runs",
                      "defaultValue": "true"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "isOptional": false,
                      "description": "Harden settings file permissions",
                      "defaultValue": "true"
                    },
                    "N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE": {
                      "isOptional": false,
                      "description": "Max binary file size MiB",
                      "defaultValue": "256"
                    },
                    "N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES": {
                      "isOptional": false,
                      "description": "Decompression size ceiling",
                      "defaultValue": "268435456"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-18T10:14:39.389Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T07:45:17.786Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a66f32aff7244b048d02",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "n8n-runner"
  }
}
