{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d9de4f20-efb6-456b-8606-cef0150a34cb",
    "slug": "openclaw-jun26",
    "name": "OpenClaw (Clawdbot / Moltbot) [Aug'26]",
    "description": "Self-hosted AI assistant (Clawdbot) for Telegram, WhatsApp, Slack, Discord",
    "url": "https://railway.com/deploy/openclaw-jun26",
    "upstream": {
      "repo_url": "https://github.com/Amritasha/openclaw-railway-template"
    }
  },
  "services": [
    {
      "name": "openclaw-railway-template",
      "source": {
        "repo": "https://github.com/Amritasha/openclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SETUP_PASSWORD",
      "service": "openclaw-railway-template",
      "description": "Generate: openssl rand -base64 18",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "openclaw-railway-template",
      "description": "Provide a value for OPENCLAW_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "INTERNAL_GATEWAY_PORT",
      "service": "openclaw-railway-template",
      "description": "Provide a value for INTERNAL_GATEWAY_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "18789"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "openclaw-railway-template",
      "description": "Generate: openssl rand -hex 32",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "openclaw-railway-template",
      "description": "Provide a value for OPENCLAW_WORKSPACE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-jun26"
      }
    },
    "cli": "railway deploy --template openclaw-jun26",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d9de4f20-efb6-456b-8606-cef0150a34cb",
            "serializedConfig": {
              "services": {
                "e1a1bb01-8959-408e-b9ad-00f81fc3dc37": {
                  "name": "openclaw-railway-template",
                  "deploy": {
                    "healthcheckPath": "/healthz"
                  },
                  "source": {
                    "repo": "Amritasha/openclaw-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SETUP_PASSWORD": {
                      "isOptional": false,
                      "description": "Generate: openssl rand -base64 18",
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/.openclaw"
                    },
                    "INTERNAL_GATEWAY_PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "18789"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "Generate: openssl rand -hex 32",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "e1a1bb01-8959-408e-b9ad-00f81fc3dc37": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "openclaw-railway-template",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-12T10:14:41.946Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-11T09:08:38.862Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bcf43fbc9eb04336b7d3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 149,
    "typical_build_seconds": 74,
    "typical_start_seconds": 15,
    "slowest_service": "openclaw-railway-template"
  }
}
