{
  "manifest_version": "1.0.0",
  "template": {
    "id": "71225faa-189d-4b44-8875-471d1f90e195",
    "slug": "openclaw-railway",
    "name": "OpenClaw - Pre-configured and pre-hardened (For Non-Technical Users)",
    "description": "Security-hardened always-on OpenClaw AI personal assistant",
    "url": "https://railway.com/deploy/openclaw-railway",
    "upstream": {
      "repo_url": "https://github.com/Mattslayga/openclaw-railway"
    }
  },
  "services": [
    {
      "name": "openclaw-railway",
      "source": {
        "repo": "https://github.com/Mattslayga/openclaw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GATEWAY_TOKEN",
      "service": "openclaw-railway",
      "description": "Needed for accessing the internal gateway",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SECURITY_TIER",
      "service": "openclaw-railway",
      "description": "The active security tier",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "LLM_PRIMARY_MODEL",
      "service": "openclaw-railway",
      "description": "The default/primary model",
      "secret": false,
      "strategy": "default",
      "default": "openrouter/moonshotai/kimi-k2.5"
    },
    {
      "key": "LLM_SUBAGENT_MODEL",
      "service": "openclaw-railway",
      "description": "To preselect a model for subagents",
      "secret": false,
      "strategy": "default",
      "default": "openrouter/minimax/minimax-m2.5"
    },
    {
      "key": "LLM_HEARTBEAT_MODEL",
      "service": "openclaw-railway",
      "description": "Model to use for heartbeats (Usually smaller and cheaper)",
      "secret": false,
      "strategy": "default",
      "default": "openrouter/minimax/minimax-m2.5"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-railway"
      }
    },
    "cli": "railway deploy --template openclaw-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "71225faa-189d-4b44-8875-471d1f90e195",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "657a7bfa-7e3a-4577-b4ae-41321392dccd": {
                  "icon": null,
                  "name": "openclaw-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/Mattslayga/openclaw-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "AGENT_NAME": {
                      "isOptional": true,
                      "description": "Set your agent name ahead of time or when you first meet",
                      "defaultValue": ""
                    },
                    "XAI_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Xai",
                      "defaultValue": ""
                    },
                    "GROQ_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Groq",
                      "defaultValue": ""
                    },
                    "BRAVE_API_KEY": {
                      "isOptional": true,
                      "description": "Default option for web search api",
                      "defaultValue": ""
                    },
                    "GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "Needed for accessing the internal gateway",
                      "defaultValue": "{{GATEWAY_TOKEN}}"
                    },
                    "SECURITY_TIER": {
                      "isOptional": false,
                      "description": "The active security tier",
                      "defaultValue": "0"
                    },
                    "STEEL_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Steel",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from OpenAI",
                      "defaultValue": ""
                    },
                    "SLACK_OWNER_ID": {
                      "isOptional": true,
                      "description": "For setting up slack and pairing it to you",
                      "defaultValue": ""
                    },
                    "VENICE_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Venice",
                      "defaultValue": ""
                    },
                    "MISTRAL_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Mistral",
                      "defaultValue": ""
                    },
                    "SLACK_APP_TOKEN": {
                      "isOptional": true,
                      "description": "To set u a slack connection",
                      "defaultValue": ""
                    },
                    "SLACK_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "To set up a slack connection",
                      "defaultValue": ""
                    },
                    "DEEPGRAM_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Deepgram",
                      "defaultValue": ""
                    },
                    "DEEPSEEK_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Deepseek",
                      "defaultValue": ""
                    },
                    "DISCORD_OWNER_ID": {
                      "isOptional": true,
                      "description": "For discord connection and pairing it to you",
                      "defaultValue": ""
                    },
                    "TOGETHER_API_KEY": {
                      "isOptional": true,
                      "description": "API Key from Together",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "API Key for Anthropic",
                      "defaultValue": ""
                    },
                    "DISCORD_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "For connecting discord",
                      "defaultValue": ""
                    },
                    "FIREWORKS_API_KEY": {
                      "isOptional": true,
                      "description": "API Key for Fireworks",
                      "defaultValue": ""
                    },
                    "GOOGLE_AI_API_KEY": {
                      "isOptional": true,
                      "description": "API Key for Google",
                      "defaultValue": ""
                    },
                    "LLM_PRIMARY_MODEL": {
                      "isOptional": false,
                      "description": "The default/primary model",
                      "defaultValue": "openrouter/moonshotai/kimi-k2.5"
                    },
                    "TELEGRAM_OWNER_ID": {
                      "isOptional": true,
                      "description": "For connecting telegram and pairing it with you",
                      "defaultValue": ""
                    },
                    "CLOUDFLARE_API_KEY": {
                      "isOptional": true,
                      "description": "API Key for Cloudflare gateway",
                      "defaultValue": ""
                    },
                    "LLM_SUBAGENT_MODEL": {
                      "isOptional": false,
                      "description": "To preselect a model for subagents",
                      "defaultValue": "openrouter/minimax/minimax-m2.5"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "API Key for Openrouter (Recommended)",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "For connecting telegram",
                      "defaultValue": ""
                    },
                    "BROWSERBASE_API_KEY": {
                      "isOptional": true,
                      "description": "API Key for Browserbase",
                      "defaultValue": ""
                    },
                    "LLM_EMBEDDING_MODEL": {
                      "isOptional": true,
                      "description": "Used for vector embeddings and similarity search with memory. Default is 'openrouter/openai/text-embedding-3-small'",
                      "defaultValue": ""
                    },
                    "LLM_FALLBACK_MODELS": {
                      "isOptional": true,
                      "description": "Comma separated list of models for fallback",
                      "defaultValue": ""
                    },
                    "LLM_HEARTBEAT_MODEL": {
                      "isOptional": true,
                      "description": "Model to use for heartbeats (Usually smaller and cheaper)",
                      "defaultValue": "openrouter/minimax/minimax-m2.5"
                    },
                    "BROWSERBASE_PROJECT_ID": {
                      "isOptional": true,
                      "description": "For use with Browserbase for browser automation",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "657a7bfa-7e3a-4577-b4ae-41321392dccd": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "openclaw-railway",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T19:20:57.286Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_241287f3b9e042ab9a53",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 140,
    "typical_build_seconds": 63,
    "typical_start_seconds": 20,
    "slowest_service": "openclaw-railway"
  }
}
