{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5aa3b514-a41b-4868-aee2-2346990454c3",
    "slug": "kit-ubuntu-ssh-skeleton-0919",
    "name": "Ubuntu Dev Box (SSH + Claude Code)",
    "description": "Persistent Ubuntu 24.04 dev box: SSH + browser terminal, Claude Code",
    "url": "https://railway.com/deploy/kit-ubuntu-ssh-skeleton-0919",
    "upstream": {
      "image": "ghcr.io/will-bogusz/railway-ubuntu-ssh:24.04-20260920b@sha256:ebaafc81557b7294a2b13d08986173efacab19d3004c2ac40074753dbcf6136c"
    }
  },
  "services": [
    {
      "name": "Ubuntu",
      "source": {
        "image": "ghcr.io/will-bogusz/railway-ubuntu-ssh:24.04-20260920b@sha256:ebaafc81557b7294a2b13d08986173efacab19d3004c2ac40074753dbcf6136c"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/dev",
      "tcp_ports": [
        22
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Ubuntu",
      "description": "Port the browser terminal listens on. Railway's domain and healthcheck target it. Leave it as is.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SSH_PASSWORD",
      "service": "Ubuntu",
      "description": "Password for the dev user, over SSH and in the browser terminal. Generated on deploy; read it here in the Variables tab. Change it and redeploy to rotate. fail2ban bans a source after 5 failed logins.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kit-ubuntu-ssh-skeleton-0919"
      }
    },
    "cli": "railway deploy --template kit-ubuntu-ssh-skeleton-0919",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5aa3b514-a41b-4868-aee2-2346990454c3",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "59f7d723-d78b-48e7-9447-38ff6d3d1ff1": {
                  "icon": "https://devicons.railway.com/i/ubuntu.svg",
                  "name": "Ubuntu",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/will-bogusz/railway-ubuntu-ssh:24.04-20260920b@sha256:ebaafc81557b7294a2b13d08986173efacab19d3004c2ac40074753dbcf6136c"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": true,
                      "description": "Optional - Timezone name such as Europe/Berlin or America/New_York. Default UTC.",
                      "defaultValue": ""
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the browser terminal listens on. Railway's domain and healthcheck target it. Leave it as is.",
                      "defaultValue": "8080"
                    },
                    "GITHUB_TOKEN": {
                      "isOptional": true,
                      "description": "Optional - GitHub token. git clone/push over HTTPS and the gh CLI use it without a login prompt.",
                      "defaultValue": ""
                    },
                    "SSH_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the dev user, over SSH and in the browser terminal. Generated on deploy; read it here in the Variables tab. Change it and redeploy to rotate. fail2ban bans a source after 5 failed logins.",
                      "defaultValue": "{{SSH_PASSWORD}}"
                    },
                    "AUTHORIZED_KEYS": {
                      "isOptional": true,
                      "description": "Optional - SSH public keys, one per line, allowed to log in as dev without the password. Password login stays on either way.",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Optional - Anthropic API key for Claude Code. Leave blank to sign in with a Claude subscription instead: run claude and follow the login link.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "22": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "59f7d723-d78b-48e7-9447-38ff6d3d1ff1": {
                      "mountPath": "/home/dev"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Ubuntu",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T23:18:22.041Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f5c5674cb1864cc3b7cf",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 27,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Ubuntu"
  }
}
