{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8935f798-8548-43e9-bc75-1eb427c70901",
    "slug": "cloud9",
    "name": "cloud9",
    "description": "Cloud-Based Integrated Development Environment (IDE)",
    "url": "https://railway.com/deploy/cloud9",
    "upstream": {
      "image": "linuxserver/cloud9:latest"
    }
  },
  "services": [
    {
      "name": "cloud9",
      "source": {
        "image": "linuxserver/cloud9:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/code",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "cloud9",
      "description": "Time zone used by the application and container.",
      "secret": false,
      "strategy": "default",
      "default": "Europe/London"
    },
    {
      "key": "PGID",
      "service": "cloud9",
      "description": "Group ID used by the container to manage file permissions.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "PORT",
      "service": "cloud9",
      "description": "Port the Cloud9 server listens on.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "PUID",
      "service": "cloud9",
      "description": "User ID used by the container to run processes and access files.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "GITURL",
      "service": "cloud9",
      "description": "Git repository URL used to retrieve the Cloud9 application source.",
      "secret": false,
      "strategy": "default",
      "default": "https://github.com/linuxserver/docker-cloud9.git"
    },
    {
      "key": "PASSWORD",
      "service": "cloud9",
      "description": "Randomly generated 32-character password for securing Cloud9 access.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "USERNAME",
      "service": "cloud9",
      "description": "Randomly generated 12-character username for accessing Cloud9.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cloud9"
      }
    },
    "cli": "railway deploy --template cloud9",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8935f798-8548-43e9-bc75-1eb427c70901",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "07c31a2d-0c3b-45d6-b05d-745c411a228d": {
                  "icon": "https://dashboardicons.com/pb/api/files/community_gallery/dxfd4190jbh10a4/logo_mrorv4vcpn.png",
                  "name": "cloud9",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "linuxserver/cloud9:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Time zone used by the application and container.",
                      "defaultValue": "Europe/London"
                    },
                    "PGID": {
                      "isOptional": false,
                      "description": "Group ID used by the container to manage file permissions.",
                      "defaultValue": "1000"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the Cloud9 server listens on.",
                      "defaultValue": "8000"
                    },
                    "PUID": {
                      "isOptional": false,
                      "description": "User ID used by the container to run processes and access files.",
                      "defaultValue": "1000"
                    },
                    "GITURL": {
                      "isOptional": false,
                      "description": "Git repository URL used to retrieve the Cloud9 application source.",
                      "defaultValue": "https://github.com/linuxserver/docker-cloud9.git"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "Randomly generated 32-character password for securing Cloud9 access.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "USERNAME": {
                      "isOptional": false,
                      "description": "Randomly generated 12-character username for accessing Cloud9.",
                      "defaultValue": "{{USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "07c31a2d-0c3b-45d6-b05d-745c411a228d": {
                      "mountPath": "/code"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-27T22:14:44.387Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-27T21:03:29.179Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bdf5d2398d0d40cc9189",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 22,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "cloud9"
  }
}
