{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ec0597e9-f71c-4227-a76e-5f1f1cb6967f",
    "slug": "jellyfin-server",
    "name": "Jellyfin",
    "description": "Media server that streams your movies, shows and music to any device",
    "url": "https://railway.com/deploy/jellyfin-server",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/jellyfin-railway"
    }
  },
  "services": [
    {
      "name": "jellyfin",
      "source": {
        "repo": "https://github.com/gridalpha/jellyfin-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "jellyfin",
      "description": "HTTP port Railway probes and routes",
      "secret": false,
      "strategy": "default",
      "default": "8096"
    },
    {
      "key": "JELLYFIN_DEMO_MEDIA",
      "service": "jellyfin",
      "description": "Seed two Creative Commons demo films",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "JELLYFIN_SERVER_NAME",
      "service": "jellyfin",
      "description": "Server name shown in clients",
      "secret": false,
      "strategy": "default",
      "default": "Jellyfin"
    },
    {
      "key": "JELLYFIN_ADMIN_PASSWORD",
      "service": "jellyfin",
      "description": "Administrator password, first boot only",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "JELLYFIN_ADMIN_USERNAME",
      "service": "jellyfin",
      "description": "Administrator created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "JELLYFIN_PublishedServerUrl",
      "service": "jellyfin",
      "description": "Public HTTPS URL for clients",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "jellyfin-server"
      }
    },
    "cli": "railway deploy --template jellyfin-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ec0597e9-f71c-4227-a76e-5f1f1cb6967f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0f0a9227-adb8-46a9-9c38-e2fb07bca92c": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/jellyfin.svg",
                  "name": "jellyfin",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/jellyfin-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port Railway probes and routes",
                      "defaultValue": "8096"
                    },
                    "JELLYFIN_DEMO_MEDIA": {
                      "isOptional": false,
                      "description": "Seed two Creative Commons demo films",
                      "defaultValue": "true"
                    },
                    "JELLYFIN_SERVER_NAME": {
                      "isOptional": false,
                      "description": "Server name shown in clients",
                      "defaultValue": "Jellyfin"
                    },
                    "JELLYFIN_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Administrator password, first boot only",
                      "defaultValue": "{{JELLYFIN_ADMIN_PASSWORD}}"
                    },
                    "JELLYFIN_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Administrator created on first boot",
                      "defaultValue": "admin"
                    },
                    "JELLYFIN_PublishedServerUrl": {
                      "isOptional": false,
                      "description": "Public HTTPS URL for clients",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8096": {
                        "port": 8096
                      }
                    }
                  },
                  "volumeMounts": {
                    "0f0a9227-adb8-46a9-9c38-e2fb07bca92c": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-19T16:18:30.457Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_3627f8d8dd1d40ffa293",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 101,
    "typical_build_seconds": 41,
    "typical_start_seconds": 10,
    "slowest_service": "jellyfin"
  }
}
