{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cfd978c0-d4f5-40b9-ac8e-abd79d6d3eb3",
    "slug": "ubuntu-browser-terminal-starter",
    "name": "Ubuntu Browser Terminal Starter",
    "description": "Password-protected Ubuntu web terminal with a persistent workspace volume.",
    "url": "https://railway.com/deploy/ubuntu-browser-terminal-starter",
    "upstream": {
      "repo_url": "https://github.com/XenaaLangliss/ubuntu-railway"
    }
  },
  "services": [
    {
      "name": "ubuntu-railway",
      "source": {
        "repo": "https://github.com/XenaaLangliss/ubuntu-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/workspace",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "ubuntu-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PASSWORD",
      "service": "ubuntu-railway",
      "description": "Generated browser-terminal password; retrieve it in Railway variables.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "USERNAME",
      "service": "ubuntu-railway",
      "description": "Username for the browser login.",
      "secret": false,
      "strategy": "default",
      "default": "operator"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ubuntu-browser-terminal-starter"
      }
    },
    "cli": "railway deploy --template ubuntu-browser-terminal-starter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cfd978c0-d4f5-40b9-ac8e-abd79d6d3eb3",
            "serializedConfig": {
              "services": {
                "d7993602-b30b-5df5-b7ca-c235af0b7257": {
                  "icon": null,
                  "name": "ubuntu-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS"
                  },
                  "source": {
                    "repo": "XenaaLangliss/ubuntu-railway",
                    "branch": "main",
                    "commitSha": "3289272b48a99f8f76c4f40f55cabca7f0dfdfa5",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "Generated browser-terminal password; retrieve it in Railway variables.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "USERNAME": {
                      "isOptional": false,
                      "description": "Username for the browser login.",
                      "defaultValue": "operator"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "7d248889-495d-5be2-95b4-b456be882654": {
                      "mountPath": "/workspace"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-18T10:14:45.913Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-18T09:06:13.301Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d0ecc51435e741878aab",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 97,
    "typical_build_seconds": 71,
    "typical_start_seconds": 10,
    "slowest_service": "ubuntu-railway"
  }
}
