{
  "manifest_version": "1.0.0",
  "template": {
    "id": "89064b41-02b3-40e1-ba55-eb7a15d131d0",
    "slug": "openclaw-with-native-onboard",
    "name": "openclaw with native onboard",
    "description": "openclaw for Railway with a minimal reverse proxy wrapper.",
    "url": "https://railway.com/deploy/openclaw-with-native-onboard",
    "upstream": {
      "repo_url": "https://github.com/LaceLetho/openclaw-railway-template"
    }
  },
  "services": [
    {
      "name": "openclaw-railway-template",
      "source": {
        "repo": "https://github.com/LaceLetho/openclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PASSWORD",
      "service": "openclaw-railway-template",
      "description": "HTTP Basic Auth — protects the entire service",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_GIT_REF",
      "service": "openclaw-railway-template",
      "description": "tag/branch",
      "secret": false,
      "strategy": "default",
      "default": "v2026.3.2"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "openclaw-railway-template",
      "description": "State directory (set by default in railway.toml)",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "openclaw-railway-template",
      "description": "Gateway auth token (keep secret, stays stable)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "openclaw-railway-template",
      "description": "Workspace directory (set by default in railway.toml)",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-with-native-onboard"
      }
    },
    "cli": "railway deploy --template openclaw-with-native-onboard",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "89064b41-02b3-40e1-ba55-eb7a15d131d0",
            "serializedConfig": {
              "services": {
                "8370fd5a-f201-44fd-bbc3-0d2d13a01219": {
                  "name": "openclaw-railway-template",
                  "source": {
                    "repo": "LaceLetho/openclaw-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "HTTP Basic Auth — protects the entire service",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "BRAVE_API_KEY": {
                      "isOptional": true,
                      "description": "Web search",
                      "defaultValue": ""
                    },
                    "OPENCLAW_GIT_REF": {
                      "isOptional": false,
                      "description": "tag/branch",
                      "defaultValue": "v2026.3.2"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "isOptional": true,
                      "description": "State directory (set by default in railway.toml)",
                      "defaultValue": "/data/.openclaw"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "Gateway auth token (keep secret, stays stable)",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "isOptional": true,
                      "description": "Workspace directory (set by default in railway.toml)",
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "8370fd5a-f201-44fd-bbc3-0d2d13a01219": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T10:24:34.256Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_fbd3ec59ddba4cf8b1a5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "BUILDING"
      }
    ]
  }
}
