{
  "manifest_version": "1.0.0",
  "template": {
    "id": "84076826-d9bd-4524-a2d4-5d2a06a0bbcc",
    "slug": "code-server",
    "name": "Code Server",
    "description": "VS Code in the browser",
    "url": "https://railway.com/deploy/code-server",
    "upstream": {
      "repo_url": "https://github.com/coder/deploy-code-server"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "code-server",
      "source": {
        "repo": "https://github.com/coder/deploy-code-server"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GIT_REPO",
      "service": "code-server",
      "description": "A git repo to auto-clone and open in code-server (e.g https://github.com/coder/docs).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PASSWORD",
      "service": "code-server",
      "description": "Your password to log in to code-server.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "code-server"
      }
    },
    "cli": "railway deploy --template code-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "84076826-d9bd-4524-a2d4-5d2a06a0bbcc",
            "serializedConfig": {
              "services": {
                "5e27d16e-e624-4d70-ae82-0831e53faf72": {
                  "name": "code-server",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/coder/deploy-code-server"
                  },
                  "variables": {
                    "GIT_REPO": {
                      "isOptional": false,
                      "description": "A git repo to auto-clone and open in code-server (e.g https://github.com/coder/docs).",
                      "defaultValue": "{{GIT_REPO}}"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "Your password to log in to code-server.",
                      "defaultValue": "{{PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-06T17:54:17.775Z",
  "generator_version": "0.1.0"
}
