{
  "manifest_version": "1.0.0",
  "template": {
    "id": "045d5012-1668-4438-8de1-6d972f8b329c",
    "slug": "code-server-official",
    "name": "Code Server",
    "description": "Run VS Code in your browser, anywhere. It's Official code-server by Coder.",
    "url": "https://railway.com/deploy/code-server-official",
    "upstream": {
      "image": "codercom/code-server:latest"
    }
  },
  "services": [
    {
      "name": "code-server",
      "source": {
        "image": "codercom/code-server:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PASSWORD",
      "service": "code-server",
      "description": "Provide a value for PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "code-server-official"
      }
    },
    "cli": "railway deploy --template code-server-official",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "045d5012-1668-4438-8de1-6d972f8b329c",
            "serializedConfig": {
              "services": {
                "b1fc1896-5c51-4104-bf44-3e46564ae908": {
                  "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/960px-Visual_Studio_Code_1.35_icon.svg.png",
                  "name": "code-server",
                  "source": {
                    "image": "codercom/code-server:latest"
                  },
                  "variables": {
                    "PASSWORD": {
                      "defaultValue": "{{PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T20:28:59.769Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c6fc3ae939af46caa450",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 24,
    "typical_build_seconds": 0,
    "typical_start_seconds": 11,
    "slowest_service": "code-server"
  }
}
