{
  "manifest_version": "1.0.0",
  "template": {
    "id": "71342f68-7fd8-4fde-9f2b-4e889d327c6a",
    "slug": "openclaw-private-gateway",
    "name": "OpenClaw Private Gateway",
    "description": "Private OpenClaw Gateway, reachable only over your Tailscale tailnet",
    "url": "https://railway.com/deploy/openclaw-private-gateway"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "openclaw",
      "source": {
        "repo": "https://github.com/stevekinney/openclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "tailscale",
      "source": {
        "repo": "https://github.com/stevekinney/openclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/tailscale",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "openclaw",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_PUBLIC_ORIGIN",
      "service": "openclaw",
      "description": "Provide a value for OPENCLAW_PUBLIC_ORIGIN.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TS_AUTHKEY",
      "service": "tailscale",
      "description": "Provide a value for TS_AUTHKEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-private-gateway"
      }
    },
    "cli": "railway deploy --template openclaw-private-gateway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "71342f68-7fd8-4fde-9f2b-4e889d327c6a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "21cf356d-0477-4fc3-9dcc-8c12b6174eef": {
                  "icon": null,
                  "name": "openclaw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/startupz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/stevekinney/openclaw-railway-template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_PUBLIC_ORIGIN": {
                      "isOptional": false,
                      "defaultValue": "{{OPENCLAW_PUBLIC_ORIGIN}}"
                    }
                  },
                  "volumeMounts": {
                    "21cf356d-0477-4fc3-9dcc-8c12b6174eef": {
                      "mountPath": "/data"
                    }
                  }
                },
                "7588b936-d3ab-404c-8965-c5ef31c48d49": {
                  "icon": null,
                  "name": "tailscale",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/stevekinney/openclaw-railway-template",
                    "rootDirectory": "tailscale"
                  },
                  "variables": {
                    "TS_AUTHKEY": {
                      "isOptional": false,
                      "defaultValue": "{{TS_AUTHKEY}}"
                    }
                  },
                  "volumeMounts": {
                    "7588b936-d3ab-404c-8965-c5ef31c48d49": {
                      "mountPath": "/var/lib/tailscale"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-08T10:14:37.803Z",
  "generator_version": "0.1.0"
}
