{
  "manifest_version": "1.0.0",
  "template": {
    "id": "24992f9d-160d-4899-a8ce-9cb67137e396",
    "slug": "t3-code-cloud",
    "name": "T3 Code | Always-On Cloud Agent Box for Claude Code & Codex",
    "description": "Run Claude Code, Codex and OpenCode 24/7; drive them from T3 web or mobile",
    "url": "https://railway.com/deploy/t3-code-cloud",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/t3code-railway"
    }
  },
  "services": [
    {
      "name": "T3 Code",
      "source": {
        "repo": "https://github.com/nomideusz/t3code-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/t3",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "T3 Code",
      "description": "Port of the web app. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "T3_SETUP_PASSWORD",
      "service": "T3 Code",
      "description": "Password for https://<your-domain>/railway-pair, the page that pairs browsers, phones and desktop apps with this server.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "t3-code-cloud"
      }
    },
    "cli": "railway deploy --template t3-code-cloud",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "24992f9d-160d-4899-a8ce-9cb67137e396",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2b4f78a1-0833-463f-a630-a2bac2c32fa5": {
                  "icon": "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/ba/fe/12/bafe12b3-90a5-6b61-20d2-a48695a30740/Placeholder.mill/200x200bb-75.webp",
                  "name": "T3 Code",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/t3code-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the web app. Do not change.",
                      "defaultValue": "8080"
                    },
                    "GH_TOKEN": {
                      "isOptional": true,
                      "description": "Optional. GitHub token so agents can clone private repos, push and open PRs.",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Logs Codex in with an API key on first boot. Or use Continue with ChatGPT in T3.",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Claude Code with an API key instead of a subscription login (claude auth login in the T3 terminal).",
                      "defaultValue": ""
                    },
                    "T3_SETUP_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for https://<your-domain>/railway-pair, the page that pairs browsers, phones and desktop apps with this server.",
                      "defaultValue": "{{T3_SETUP_PASSWORD}}"
                    },
                    "CLAUDE_CODE_OAUTH_TOKEN": {
                      "isOptional": true,
                      "description": "Optional. Long-lived Claude subscription token from `claude setup-token` on any machine.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "2b4f78a1-0833-463f-a630-a2bac2c32fa5": {
                      "mountPath": "/home/t3"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "T3 Code",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-14T10:14:43.564Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-12T12:30:58.859Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cb0ba201fa6f4bb0af0e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 148,
    "typical_build_seconds": 111,
    "typical_start_seconds": 20,
    "slowest_service": "T3 Code"
  }
}
