{
  "manifest_version": "1.0.0",
  "template": {
    "id": "663861fe-5d24-405a-9704-57c6a8fc6dac",
    "slug": "openclaw-6",
    "name": "openclaw",
    "description": "openclaw simple to deploy and host",
    "url": "https://railway.com/deploy/openclaw-6",
    "upstream": {
      "repo_url": "https://github.com/matlee0409/openclaw-railway"
    }
  },
  "services": [
    {
      "name": "openclaw-railway",
      "source": {
        "repo": "https://github.com/matlee0409/openclaw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "openclaw-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "openclaw-railway",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "OPENCLAW_VERSION",
      "service": "openclaw-railway",
      "description": "Provide a value for OPENCLAW_VERSION.",
      "secret": false,
      "strategy": "default",
      "default": "2026.6.5"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "openclaw-railway",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WRAPPER_ADMIN_PASSWORD",
      "service": "openclaw-railway",
      "description": "Provide a value for WRAPPER_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-6"
      }
    },
    "cli": "railway deploy --template openclaw-6",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "663861fe-5d24-405a-9704-57c6a8fc6dac",
            "serializedConfig": {
              "services": {
                "2aad6f9f-925d-425e-bb46-dbd4bc91cfea": {
                  "name": "openclaw-railway",
                  "deploy": {
                    "startCommand": "node src/sever.js",
                    "healthcheckPath": "/api/status",
                    "restartPolicyType": "ON_FAILURE"
                  },
                  "source": {
                    "repo": "matlee0409/openclaw-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "0"
                    },
                    "OPENCLAW_VERSION": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "2026.6.5"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "WRAPPER_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{WRAPPER_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "2aad6f9f-925d-425e-bb46-dbd4bc91cfea": {
                      "mountPath": "/data",
                      "backupSchedules": [
                        "MONTHLY",
                        "MONTHLY",
                        "MONTHLY",
                        "WEEKLY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "openclaw-railway",
      "method": "GET",
      "path": "/api/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T09:51:44.221Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_35254f34b7884af7a646",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Repository \"matlee0409/openclaw-railway\" not found or is not accessible"
      }
    ]
  }
}
