{
  "manifest_version": "1.0.0",
  "template": {
    "id": "86dfa4b0-f757-4726-a9f8-543d34eeeb3f",
    "slug": "openclaw-secure",
    "name": "OpenClaw (Secure)",
    "description": "OpenClaw template with persistent secure storage for skills and context",
    "url": "https://railway.com/deploy/openclaw-secure",
    "upstream": {
      "repo_url": "https://github.com/turbo-labs/openclaw"
    }
  },
  "services": [
    {
      "name": "OpenClaw",
      "source": {
        "repo": "https://github.com/turbo-labs/openclaw"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ANTHROPIC_API_KEY",
      "service": "OpenClaw",
      "description": "Generate a key at https://platform.claude.com/settings/keys",
      "secret": true,
      "strategy": "default",
      "default": "your_anthropic_key"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "OpenClaw",
      "description": "Password for the gateway WebSocket API. Auto-generated — cut-and-paste into your OpenClaw Dashboard > Overview tab.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_GATEWAY_PASSWORD",
      "service": "OpenClaw",
      "description": "Password for the gateway dashboard. Auto-generated — cut-and-paste into your OpenClaw Dashboard > Overview tab.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-secure"
      }
    },
    "cli": "railway deploy --template openclaw-secure",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "86dfa4b0-f757-4726-a9f8-543d34eeeb3f",
            "serializedConfig": {
              "services": {
                "a162afc0-315a-4288-9543-04e0163f7a0a": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/openclaw.svg",
                  "name": "OpenClaw",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "turbo-labs/openclaw",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "ANTHROPIC_API_KEY": {
                      "isOptional": false,
                      "description": "Generate a key at https://platform.claude.com/settings/keys",
                      "defaultValue": "your_anthropic_key"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "Password for the gateway WebSocket API. Auto-generated — cut-and-paste into your OpenClaw Dashboard > Overview tab.",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_GATEWAY_PASSWORD": {
                      "description": "Password for the gateway dashboard. Auto-generated — cut-and-paste into your OpenClaw Dashboard > Overview tab.",
                      "defaultValue": "{{OPENCLAW_GATEWAY_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "OpenClaw",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T12:17:10.021Z",
  "success_rate_30d": 0.8,
  "validation": {
    "last_run_id": "run_f50daff0641142ed8ef0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 153,
    "typical_build_seconds": 76,
    "typical_start_seconds": 26,
    "slowest_service": "OpenClaw"
  }
}
