{
  "manifest_version": "1.0.0",
  "template": {
    "id": "eef00750-0129-4f5e-b93f-50abcd32a9ca",
    "slug": "tpl-test-ubuntu-web-terminal",
    "name": "tpl-test-ubuntu-web-terminal",
    "description": "Ubuntu 24.04 LTS ttyd box with generated password, /data, HTTP healthcheck",
    "url": "https://railway.com/deploy/tpl-test-ubuntu-web-terminal",
    "upstream": {
      "repo_url": "https://github.com/leoisadev1/railway-template-ubuntu-web-terminal"
    }
  },
  "services": [
    {
      "name": "ubuntu-web-terminal",
      "source": {
        "repo": "https://github.com/leoisadev1/railway-template-ubuntu-web-terminal"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TERMINAL_PASSWORD",
      "service": "ubuntu-web-terminal",
      "description": "Provide a value for TERMINAL_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tpl-test-ubuntu-web-terminal"
      }
    },
    "cli": "railway deploy --template tpl-test-ubuntu-web-terminal",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "eef00750-0129-4f5e-b93f-50abcd32a9ca",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2e208742-c607-465b-a330-203a0cfc147a": {
                  "icon": null,
                  "name": "ubuntu-web-terminal",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/leoisadev1/railway-template-ubuntu-web-terminal",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TERMINAL_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{TERMINAL_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "2e208742-c607-465b-a330-203a0cfc147a": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "ubuntu-web-terminal",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-07T23:54:17.958Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-07T23:56:53.218Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fcd99ef4620b446c98da",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "ubuntu-web-terminal"
  }
}
