{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a45042ae-09dd-4ea4-99e8-c383c6cf8d6d",
    "slug": "metube-2",
    "name": "MeTube",
    "description": "Web UI for downloading videos from YouTube and more.",
    "url": "https://railway.com/deploy/metube-2",
    "upstream": {
      "image": "ghcr.io/alexta69/metube:2026.07.27@sha256:b6e945b63df6357bc16c7bfcb1b4479856b2087f6d8a5e59f0d3f4996a707e12"
    }
  },
  "services": [
    {
      "name": "MeTube",
      "source": {
        "image": "ghcr.io/alexta69/metube:2026.07.27@sha256:b6e945b63df6357bc16c7bfcb1b4479856b2087f6d8a5e59f0d3f4996a707e12"
      },
      "needs_volume": true,
      "volume_mount_path": "/downloads",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "MeTube",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "DELETE_FILE_ON_TRASHCAN",
      "service": "MeTube",
      "description": "Provide a value for DELETE_FILE_ON_TRASHCAN.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "metube-2"
      }
    },
    "cli": "railway deploy --template metube-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a45042ae-09dd-4ea4-99e8-c383c6cf8d6d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ffa8f005-3f9c-4a0b-b25a-7e8c365bc61c": {
                  "icon": null,
                  "name": "MeTube",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/alexta69/metube:2026.07.27@sha256:b6e945b63df6357bc16c7bfcb1b4479856b2087f6d8a5e59f0d3f4996a707e12"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8081"
                    },
                    "DELETE_FILE_ON_TRASHCAN": {
                      "isOptional": false,
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "ffa8f005-3f9c-4a0b-b25a-7e8c365bc61c": {
                      "mountPath": "/downloads"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "MeTube",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-06T18:13:26.241Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4265baf8b1e24613a0a1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 99,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "MeTube"
  }
}
