{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c6fa2d04-e066-4f62-90fa-fcc3eec9d457",
    "slug": "kavita-reading-server",
    "name": "Kavita | Your Private Digital Library Server",
    "description": "Self-host Kavita on Railway — read manga, comics, and ebooks",
    "url": "https://railway.com/deploy/kavita-reading-server",
    "upstream": {
      "image": "jvmilazz0/kavita:latest"
    }
  },
  "services": [
    {
      "name": "Kavita",
      "source": {
        "image": "jvmilazz0/kavita:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/kavita/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Kavita",
      "description": "Container timezone setting",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "PORT",
      "service": "Kavita",
      "description": "HTTP server listening port",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Kavita",
      "description": "Run container as root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kavita-reading-server"
      }
    },
    "cli": "railway deploy --template kavita-reading-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c6fa2d04-e066-4f62-90fa-fcc3eec9d457",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "6966d142-ec59-4e1c-8503-c882613d5f66": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/kavita.svg",
                  "name": "Kavita",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "jvmilazz0/kavita:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container timezone setting",
                      "defaultValue": "Etc/UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP server listening port",
                      "defaultValue": "5000"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run container as root",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "6966d142-ec59-4e1c-8503-c882613d5f66": {
                      "mountPath": "/kavita/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T13:07:06.488Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_44f9716acfce43c9ab4d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 59,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Kavita"
  }
}
