{
  "manifest_version": "1.0.0",
  "template": {
    "id": "aa491208-004f-4f9c-a9b2-f8d3bd8c783f",
    "slug": "jellyfin-remote-streaming",
    "name": "Jellyfin — Self-Hosted Media Server & Plex Alternative",
    "description": "Self-host Jellyfin — stream your movies, TV & music from anywhere",
    "url": "https://railway.com/deploy/jellyfin-remote-streaming",
    "upstream": {
      "image": "jellyfin/jellyfin:latest"
    }
  },
  "services": [
    {
      "name": "Jellyfin",
      "source": {
        "image": "jellyfin/jellyfin:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Jellyfin",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8096"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Jellyfin",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "JELLYFIN_LOG_DIR",
      "service": "Jellyfin",
      "description": "Provide a value for JELLYFIN_LOG_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/config/log"
    },
    {
      "key": "JELLYFIN_DATA_DIR",
      "service": "Jellyfin",
      "description": "Provide a value for JELLYFIN_DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/config/data"
    },
    {
      "key": "JELLYFIN_CACHE_DIR",
      "service": "Jellyfin",
      "description": "Provide a value for JELLYFIN_CACHE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/cache"
    },
    {
      "key": "JELLYFIN_CONFIG_DIR",
      "service": "Jellyfin",
      "description": "Provide a value for JELLYFIN_CONFIG_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/config"
    },
    {
      "key": "JELLYFIN_PublishedServerUrl",
      "service": "Jellyfin",
      "description": "Provide a value for JELLYFIN_PublishedServerUrl.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "jellyfin-remote-streaming"
      }
    },
    "cli": "railway deploy --template jellyfin-remote-streaming",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "aa491208-004f-4f9c-a9b2-f8d3bd8c783f",
            "serializedConfig": {
              "services": {
                "5f2a323c-58f3-4545-acd3-875fe9e37b5b": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/jellyfin.svg",
                  "name": "Jellyfin",
                  "source": {
                    "image": "jellyfin/jellyfin:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8096"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "0"
                    },
                    "JELLYFIN_LOG_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/config/log"
                    },
                    "JELLYFIN_DATA_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/config/data"
                    },
                    "JELLYFIN_CACHE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/cache"
                    },
                    "JELLYFIN_CONFIG_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/config"
                    },
                    "JELLYFIN_PublishedServerUrl": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8096": {
                        "port": 8096
                      }
                    }
                  },
                  "volumeMounts": {
                    "5f2a323c-58f3-4545-acd3-875fe9e37b5b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-13T22:14:35.692Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-13T00:00:55.878Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0161d118c70e462ca25b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 52,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Jellyfin"
  }
}
