{
  "manifest_version": "1.0.0",
  "template": {
    "id": "36ffb1dd-9bc9-4ba1-a0d7-0c92f2de1621",
    "slug": "openclaw-template-new-setup-ui-tailscale",
    "name": "OpenClaw Template (New Setup UI + Tailscale)",
    "description": "Quickly deploy your openclaw (clawdbot) on Railway: https://openclaw.ai",
    "url": "https://railway.com/deploy/openclaw-template-new-setup-ui-tailscale",
    "upstream": {
      "repo_url": "https://github.com/duc-nguyen-1223/openclaw-railway-template"
    }
  },
  "services": [
    {
      "name": "openclaw-railway-template",
      "source": {
        "repo": "https://github.com/duc-nguyen-1223/openclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "openclaw-railway-template",
      "description": "Port the wrapper server listens on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SETUP_PASSWORD",
      "service": "openclaw-railway-template",
      "description": "Password to access the /setup wizard",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "openclaw-railway-template",
      "description": "Directory where openclaw stores configuration and state",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "openclaw-railway-template",
      "description": "Authentication token for the openclaw gateway and Control UI",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "openclaw-railway-template",
      "description": "Directory where openclaw stores workspace files",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-template-new-setup-ui-tailscale"
      }
    },
    "cli": "railway deploy --template openclaw-template-new-setup-ui-tailscale",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "36ffb1dd-9bc9-4ba1-a0d7-0c92f2de1621",
            "serializedConfig": {
              "services": {
                "ae398672-039e-47ab-82a4-4c1dac75a768": {
                  "name": "openclaw-railway-template",
                  "source": {
                    "repo": "duc-nguyen-1223/openclaw-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port the wrapper server listens on",
                      "defaultValue": "8080"
                    },
                    "SETUP_PASSWORD": {
                      "description": "Password to access the /setup wizard",
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "description": "Directory where openclaw stores configuration and state",
                      "defaultValue": "/data/.openclaw"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": true,
                      "description": "Authentication token for the openclaw gateway and Control UI",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "description": "Directory where openclaw stores workspace files",
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "volumeMounts": {
                    "ae398672-039e-47ab-82a4-4c1dac75a768": {
                      "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-18T11:21:25.363Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_916b90e91ade4e01be97",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
