{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6d91b55e-96b3-4c6a-85b2-0f01036971b2",
    "slug": "n8n-railway",
    "name": "N8N",
    "description": "Workflow automation tool with AI agents, 400+ integrations, and more",
    "url": "https://railway.com/deploy/n8n-railway",
    "upstream": {
      "image": "ghcr.io/n8n-io/n8n:2.32.6"
    }
  },
  "services": [
    {
      "name": "n8n-worker",
      "source": {
        "image": "ghcr.io/n8n-io/n8n:2.32.6"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "n8n",
      "source": {
        "image": "ghcr.io/n8n-io/n8n:2.32.6"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "n8n-runner",
      "source": {
        "image": "ghcr.io/n8n-io/runners:2.32.6-distroless"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "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"
    },
    {
      "key": "TZ",
      "service": "n8n",
      "description": "Container system timezone",
      "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": "Postgres 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 hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Standard Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default ACL user created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Convenience alias of the generated password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Generated password for the default user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory, a subdirectory of the volume mount",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Standard PostgreSQL port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "libpq alias of the superuser name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "libpq alias of the default database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "libpq alias of the superuser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Validity window of the generated self-signed TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Generated superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Grace period for in-flight connections on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "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"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-railway"
      }
    },
    "cli": "railway deploy --template n8n-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6d91b55e-96b3-4c6a-85b2-0f01036971b2",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "24f1f060-25c6-4dd7-82dc-12dae8c86df2": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n-worker",
                  "deploy": {
                    "startCommand": "tini -- /docker-entrypoint.sh worker",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/n8n-io/n8n:2.32.6"
                  },
                  "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": {
                      "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": {
                      "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"
                    }
                  }
                },
                "3522609a-28f2-404d-a9aa-919688ef982a": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/n8n-io/n8n:2.32.6"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container system timezone",
                      "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": "Postgres 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>": {}
                    }
                  }
                },
                "4ca2922b-8461-4671-b8b6-e3f53b0a41b2": {
                  "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\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Standard Redis port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default ACL user created on first boot",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Convenience alias of the generated password",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the default user",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "4ca2922b-8461-4671-b8b6-e3f53b0a41b2": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "82a49249-8807-4e3d-ba9f-9e1d0f90e964": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory, a subdirectory of the volume mount",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Standard PostgreSQL port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser name",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "libpq alias of the default database",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser password",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity window of the generated self-signed TLS certificate",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for in-flight connections on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "82a49249-8807-4e3d-ba9f-9e1d0f90e964": {
                      "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."
                  }
                },
                "cae70099-29e2-4005-aa77-e5675e662aa4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n-runner",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/n8n-io/runners:2.32.6-distroless"
                  },
                  "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"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "n8n",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-07T06:07:00.777Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2d2331a340ed4e32b499",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 168,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "n8n-runner"
  }
}
