{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a6010dbd-3f17-4717-a656-834b55cab3d1",
    "slug": "yt-zero",
    "name": "YT Zero",
    "description": "YouTube subscriptions as a feed reader. RSS, no Google account needed.",
    "url": "https://railway.com/deploy/yt-zero",
    "upstream": {
      "image": "ghcr.io/pelski/ytzero:latest"
    }
  },
  "services": [
    {
      "name": "YT Zero",
      "source": {
        "image": "ghcr.io/pelski/ytzero:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "YT Zero",
      "description": "Port YT Zero listens on. Must stay 3001 to match the image and the public domain.",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "APP_URL",
      "service": "YT Zero",
      "description": "Public base URL. Used as the sign-in redirect origin for OIDC and passkeys.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RESTORE_SESSION_DIR",
      "service": "YT Zero",
      "description": "Staging area for backup restores. On the volume so a large upload survives a restart.",
      "secret": false,
      "strategy": "default",
      "default": "/data/restore-sessions"
    },
    {
      "key": "DOWNLOAD_COOKIES_DIR",
      "service": "YT Zero",
      "description": "Keeps per-profile YouTube cookies on the volume instead of disposable container disk.",
      "secret": false,
      "strategy": "default",
      "default": "/data/download-cookies"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "yt-zero"
      }
    },
    "cli": "railway deploy --template yt-zero",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a6010dbd-3f17-4717-a656-834b55cab3d1",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "19dbb817-964d-46e3-8b00-9d95de842292": {
                  "icon": "https://raw.githubusercontent.com/Pelski/ytzero/main/docs/assets/ytzero-logo.svg",
                  "name": "YT Zero",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/pelski/ytzero:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port YT Zero listens on. Must stay 3001 to match the image and the public domain.",
                      "defaultValue": "3001"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Public base URL. Used as the sign-in redirect origin for OIDC and passkeys.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RESTORE_SESSION_DIR": {
                      "isOptional": false,
                      "description": "Staging area for backup restores. On the volume so a large upload survives a restart.",
                      "defaultValue": "/data/restore-sessions"
                    },
                    "DOWNLOAD_COOKIES_DIR": {
                      "isOptional": false,
                      "description": "Keeps per-profile YouTube cookies on the volume instead of disposable container disk.",
                      "defaultValue": "/data/download-cookies"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "19dbb817-964d-46e3-8b00-9d95de842292": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "YT Zero",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T04:14:34.944Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T20:46:29.249Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6bb6b0ed297b4bb1b299",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 87,
    "typical_build_seconds": 0,
    "typical_start_seconds": 15,
    "slowest_service": "YT Zero"
  }
}
