{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8537f900-7e9d-49ab-ad43-1d6001970426",
    "slug": "pi-web-or-just-updated-pi-coding-agent-i",
    "name": "PI WEB | (Just Updated) Pi Coding Agent In Your Browser, Password Protected",
    "description": "Pi Coding Agent web UI: basic-auth enforced, workspaces survive redeploys",
    "url": "https://railway.com/deploy/pi-web-or-just-updated-pi-coding-agent-i",
    "upstream": {
      "image": "ghcr.io/bon5co/pi-web-railway@sha256:3b7175e7f38150b6ba9b6e01ca8828c0c71961ee3710496550980ce5a8e95633"
    }
  },
  "services": [
    {
      "name": "pi-web",
      "source": {
        "image": "ghcr.io/bon5co/pi-web-railway@sha256:3b7175e7f38150b6ba9b6e01ca8828c0c71961ee3710496550980ce5a8e95633"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PI_WEB_PASSWORD",
      "service": "pi-web",
      "description": "Provide a value for PI_WEB_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pi-web-or-just-updated-pi-coding-agent-i"
      }
    },
    "cli": "railway deploy --template pi-web-or-just-updated-pi-coding-agent-i",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8537f900-7e9d-49ab-ad43-1d6001970426",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "07c6dfe7-9041-41eb-ae37-f18274521860": {
                  "icon": null,
                  "name": "pi-web",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/pi-web-railway@sha256:3b7175e7f38150b6ba9b6e01ca8828c0c71961ee3710496550980ce5a8e95633"
                  },
                  "variables": {
                    "PI_WEB_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{PI_WEB_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "07c6dfe7-9041-41eb-ae37-f18274521860": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "pi-web",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T10:14:37.526Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T15:02:47.890Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_255324f3e3ef44b79152",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 61,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "pi-web"
  }
}
