{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1ce75862-cd50-449f-94cf-7a629e9a37d8",
    "slug": "cloudcli-claude-code-ui",
    "name": "CloudCLI (Claude Code UI) – Web UI for Claude Code & Codex",
    "description": "Claude Code, Codex and OpenCode in your browser with automatic updates.",
    "url": "https://railway.com/deploy/cloudcli-claude-code-ui",
    "upstream": {
      "repo_url": "https://github.com/aimranov27/cloudcli-railway"
    }
  },
  "services": [
    {
      "name": "CloudCLI",
      "source": {
        "repo": "https://github.com/aimranov27/cloudcli-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CLOUDCLI_PASSWORD",
      "service": "CloudCLI",
      "description": "Password for signing in to CloudCLI. A random one is generated for you. Changing it later has no effect. Change your password in CloudCLI's settings instead.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CLOUDCLI_USERNAME",
      "service": "CloudCLI",
      "description": "Username for signing in to CloudCLI. The account is created automatically on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cloudcli-claude-code-ui"
      }
    },
    "cli": "railway deploy --template cloudcli-claude-code-ui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1ce75862-cd50-449f-94cf-7a629e9a37d8",
            "serializedConfig": {
              "services": {
                "da042a8f-cda8-447f-8424-05b6c2c7a67a": {
                  "icon": "https://raw.githubusercontent.com/siteboon/claudecodeui/7c3049fe8e157f12b7add3e496d8d2fe6fa5c014/public/logo.svg",
                  "name": "CloudCLI",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "aimranov27/cloudcli-railway"
                  },
                  "variables": {
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. An OpenAI API key for Codex. Leave empty to log in to Codex from the app instead.",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. An Anthropic API key (sk-ant-…) for Claude Code. Leave empty to log in with your Claude Pro/Max subscription from the app instead.",
                      "defaultValue": ""
                    },
                    "CLOUDCLI_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for signing in to CloudCLI. A random one is generated for you. Changing it later has no effect. Change your password in CloudCLI's settings instead.",
                      "defaultValue": "{{CLOUDCLI_PASSWORD}}"
                    },
                    "CLOUDCLI_USERNAME": {
                      "isOptional": false,
                      "description": "Username for signing in to CloudCLI. The account is created automatically on first boot.",
                      "defaultValue": "admin"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. An OpenRouter API key for OpenCode. One key gives you access to many models. Leave empty to log in from the app instead.",
                      "defaultValue": ""
                    },
                    "CLAUDE_CODE_OAUTH_TOKEN": {
                      "isOptional": true,
                      "description": "Optional. A long-lived Claude subscription token, created by running `claude setup-token` on your own computer. Lets Claude Code use your subscription without logging in inside the app.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "da042a8f-cda8-447f-8424-05b6c2c7a67a": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "CloudCLI",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T10:14:42.292Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-13T07:35:30.120Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_c86c120b2a5947ceb4af",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": false,
        "detail": "got 502, expected 200"
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ]
  }
}
