{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ad43a4c1-9702-44f8-b3e1-7f07fbb52624",
    "slug": "self-host-openclaw",
    "name": "OpenClaw | All-in-one Personal AI Assistant",
    "description": "Self Host Openclaw w/ Web Setup + Admin Dashboard + TUI + Pairing & more",
    "url": "https://railway.com/deploy/self-host-openclaw",
    "upstream": {
      "repo_url": "https://github.com/praveen-ks-2001/openclaw-railway"
    }
  },
  "services": [
    {
      "name": "OpenClaw 🦞 ",
      "source": {
        "repo": "https://github.com/praveen-ks-2001/openclaw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "OpenClaw 🦞 ",
      "description": "Express server port (Railway sets automatically)",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "OpenClaw 🦞 ",
      "description": "Run container as root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "OPENCLAW_VERSION",
      "service": "OpenClaw 🦞 ",
      "description": "Pin openclaw version. Use 'latest' to always take the most recent version.",
      "secret": false,
      "strategy": "default",
      "default": "2026.6.6"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "OpenClaw 🦞 ",
      "description": "Auth token for gateway proxy and device management",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WRAPPER_ADMIN_PASSWORD",
      "service": "OpenClaw 🦞 ",
      "description": "Password for /admin, and /api endpoints",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "self-host-openclaw"
      }
    },
    "cli": "railway deploy --template self-host-openclaw",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ad43a4c1-9702-44f8-b3e1-7f07fbb52624",
            "serializedConfig": {
              "services": {
                "629989a6-69d1-4956-b398-209eec0c9844": {
                  "icon": "https://openclaw.ai/favicon.svg",
                  "name": "OpenClaw 🦞 ",
                  "source": {
                    "repo": "praveen-ks-2001/openclaw-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "description": "Express server port (Railway sets automatically)",
                      "defaultValue": "8080"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Run container as root",
                      "defaultValue": "0"
                    },
                    "OPENCLAW_VERSION": {
                      "description": "Pin openclaw version. Use 'latest' to always take the most recent version.",
                      "defaultValue": "2026.6.6"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "description": "Auth token for gateway proxy and device management",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "WRAPPER_ADMIN_PASSWORD": {
                      "description": "Password for /admin, and /api endpoints",
                      "defaultValue": "{{WRAPPER_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "629989a6-69d1-4956-b398-209eec0c9844": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-20T16:38:21.701Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_848dff11f4534bcba5db",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 113,
    "typical_build_seconds": 52,
    "typical_start_seconds": 10,
    "slowest_service": "OpenClaw 🦞 "
  }
}
