{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b859d24d-b140-49a4-bdcc-3a0472947ae0",
    "slug": "ubuntu-2404-lts-web-terminal",
    "name": "Ubuntu 24.04 LTS Web Terminal",
    "description": "Access a full Ubuntu 24.04 LTS terminal from your browser, anywhere.",
    "url": "https://railway.com/deploy/ubuntu-2404-lts-web-terminal",
    "upstream": {
      "repo_url": "https://github.com/judetelan/Ubuntu-24.04-LTS-Railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "ubuntu-terminal",
      "source": {
        "repo": "https://github.com/judetelan/Ubuntu-24.04-LTS-Railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/root",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "ubuntu-terminal",
      "description": "Port for exposing it to the network. Default is 8080.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PASSWORD",
      "service": "ubuntu-terminal",
      "description": "Secure password of your choice.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "USERNAME",
      "service": "ubuntu-terminal",
      "description": "Username of your choice.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ubuntu-2404-lts-web-terminal"
      }
    },
    "cli": "railway deploy --template ubuntu-2404-lts-web-terminal",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b859d24d-b140-49a4-bdcc-3a0472947ae0",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "76e3963a-b983-437a-b8a5-329cac206325": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/ubuntu-linux.svg",
                  "name": "ubuntu-terminal",
                  "deploy": {
                    "startCommand": "ttyd -p 8080 -W bash",
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/judetelan/Ubuntu-24.04-LTS-Railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port for exposing it to the network. Default is 8080.",
                      "defaultValue": "8080"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "Secure password of your choice.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "USERNAME": {
                      "isOptional": false,
                      "description": "Username of your choice.",
                      "defaultValue": "{{USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "76e3963a-b983-437a-b8a5-329cac206325": {
                      "mountPath": "/root"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "ubuntu-terminal",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
