{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ea58b318-d560-4074-9b88-d85e32a4da17",
    "slug": "vs-code-dev-box-code-server",
    "name": "VS Code Dev Box (code-server)",
    "description": "VS Code in your browser: password-protected, Node & Python preinstalled.",
    "url": "https://railway.com/deploy/vs-code-dev-box-code-server",
    "upstream": {
      "repo_url": "https://github.com/niteshkumargupta/code-server-railway-template"
    }
  },
  "services": [
    {
      "name": "code-server",
      "source": {
        "repo": "https://github.com/niteshkumargupta/code-server-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/coder",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "code-server",
      "description": "Container timezone.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PASSWORD",
      "service": "code-server",
      "description": "Auto-generated login password for the code-server web UI. Change it any time in this Variables tab; never remove it on a public domain.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "vs-code-dev-box-code-server"
      }
    },
    "cli": "railway deploy --template vs-code-dev-box-code-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ea58b318-d560-4074-9b88-d85e32a4da17",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "41cce6b3-a338-4ba1-be35-4b95f9df99c8": {
                  "icon": "https://devicons.railway.com/i/vscode.svg",
                  "name": "code-server",
                  "deploy": {
                    "healthcheckPath": "/healthz"
                  },
                  "source": {
                    "repo": "niteshkumargupta/code-server-railway-template",
                    "branch": null,
                    "rootDirectory": "app"
                  },
                  "variables": {
                    "TZ": {
                      "description": "Container timezone.",
                      "defaultValue": "UTC"
                    },
                    "PASSWORD": {
                      "description": "Auto-generated login password for the code-server web UI. Change it any time in this Variables tab; never remove it on a public domain.",
                      "defaultValue": "{{PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "41cce6b3-a338-4ba1-be35-4b95f9df99c8": {
                      "mountPath": "/home/coder",
                      "backupSchedules": [
                        "DAILY",
                        "WEEKLY",
                        "MONTHLY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "code-server",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T04:14:34.944Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-11T04:22:36.183Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d02cd40dca0345e3b540",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 119,
    "typical_build_seconds": 77,
    "typical_start_seconds": 10,
    "slowest_service": "code-server"
  }
}
