{"id":45911419,"url":"https://github.com/Stremio/server-docker","last_synced_at":"2026-03-27T23:01:13.223Z","repository":{"id":78267155,"uuid":"599038271","full_name":"Stremio/server-docker","owner":"Stremio","description":"Builds and publishes Docker image for new releases of server.js","archived":false,"fork":false,"pushed_at":"2025-08-05T14:12:38.000Z","size":52,"stargazers_count":224,"open_issues_count":28,"forks_count":43,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-28T03:40:23.228Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stremio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-08T10:21:16.000Z","updated_at":"2026-01-28T01:57:34.000Z","dependencies_parsed_at":"2023-12-18T15:14:39.518Z","dependency_job_id":null,"html_url":"https://github.com/Stremio/server-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Stremio/server-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stremio%2Fserver-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stremio%2Fserver-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stremio%2Fserver-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stremio%2Fserver-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stremio","download_url":"https://codeload.github.com/Stremio/server-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stremio%2Fserver-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31065013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T22:49:25.097Z","status":"ssl_error","status_checked_at":"2026-03-27T22:49:22.599Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2026-02-28T07:00:27.281Z","updated_at":"2026-03-27T23:01:13.218Z","avatar_url":"https://github.com/Stremio.png","language":"Dockerfile","funding_links":[],"categories":["hacktoberfest"],"sub_categories":[],"readme":"# The Stremio streaming Server Docker image\n[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/stremio/server?label=stremio%2Fserver%3Alatest)](https://hub.docker.com/r/stremio/server)\n\n## Run the image\n\n`docker run --rm -d -p 11470:11470 -p 12470:12470 stremio/server:latest`\n\nIf you're running `stremio-web` locally then you should disable CORS on the server by passing `NO_CORS=1` to the env. variables:\n\n`docker run --rm -d -p 11470:11470 -p 12470:12470 -e NO_CORS=1 stremio/server:latest`\n\nAvailable ports:\n- 11470 - http\n- 12470 - https\n\nEnv. variables:\n\n`FFMPEG_BIN` - full path to the ffmpeg binary, on platforms where it cannot be reliably determined by the ffmpeg-static package (e.g. darwin aarch64)\n\n`FFPROBE_BIN` - full path to the ffprobe binary\n\n`APP_PATH` - custom application path for storing server settings, certificates, etc\n\n`NO_CORS` - if set to any value it will disable the CORS checks on the server.\n\n## Build image\n\nDocker image can be easily built using the included [`Dockerfile`](./Dockerfile).\n\nBy default, the image has `ffmpeg` installed with a specific version of `ffmpeg-jellyfin`,\nfor more information check the `Dockerfile`.\n\nFor the **desktop build** (currently, the only supported platform) do not pass the `BUILD` argument.\n\n### Example: Build a Docker image with Server v4.20.1\n\n**NB:** On a new Ubuntu release you must update the [`setup_jellyfin_repo.sh`](./setup_jellyfin_repo.sh) shell script for `jellyfin-ffmpeg`.\n\nIf you're cross-building the image from x86 to arm, you need to either use a [QEMU binary or `multiarch/qemu-user-static` (see below)](#cross-building)\n\n- Platform: `linux/amd64` (also used for `linux/x86_64`):\n\n`docker buildx build --platform linux/amd64 --build-arg VERSION=v4.20.1 -t stremio/server:latest .`\n\n- Platform: `linux/arm64` (alias of `linux/arm64/v8`):\n\n`docker buildx build --platform linux/arm64 --build-arg VERSION=v4.20.1 -t stremio/server:latest .`\n\n- Platform `linux/arm/v7`:\n\n`docker buildx build --platform linux/arm/v7 --build-arg VERSION=v4.20.1 -t stremio/server:latest .`\n\n### Cross building\nCross building the image from an `x86` to `arm` architecture, you need to either use QEMU emulation binary or the `multiarch/qemu-user-static` docker image.\n\n#### Using QEMU\n\nSetup `binfmt` if you're not on Docker Desktop, if you are you can skip this step.\nSee https://docs.docker.com/build/building/multi-platform/#qemu for more details.\n\n`docker run --privileged --rm tonistiigi/binfmt --install all`\n\n- arm/v7\n  `docker buildx build --platform linux/arm/v7 --build-arg VERSION=v4.20.1 -t stremio/server:latest .`\n\n- arm64 / arm64/v8\n  `docker buildx build --platform linux/arm64 --build-arg VERSION=v4.20.1 -t stremio/server:latest .`\n\n#### Using `multiarch/qemu-user-static` image\n\nFor more details check https://github.com/multiarch/qemu-user-static.\n\n`docker run --rm --privileged multiarch/qemu-user-static --reset -p yes`\n\n- Build a Docker image with a local `server.js` found in the root of the folder:\n**Note:** By passing an empty `VERSION` argument you will skip downloading the `server.js` from AWS before overriding it with your local one.\n\n`docker buildx build --build-arg VERSION= -t stremio/server:latest .`\n\n#### Arguments\n\n- `VERSION` - specify which version of the `server.js` you'd like to be downloaded for the docker image.\n- `BUILD` - For which platform you'd like to download the `server.js`.\n\nOther arguments:\n\n- `NODE_VERSION` - the version which will be included in the image and `server.js` will be ran with.\n- `JELLYFIN_VERSION` - `jellyfin-ffmpeg` version, we currently require version **\u003c= 4.4.1**.\n\n## Publishing on Docker Hub\n\nNew releases of Stremio Server are automatically released in Docker Hub using the [publish.yml](.github/workflows/publish.yml) using a custom event type called \"new-release\" and client payload containing the release tag version.\n\nYou can also manually trigger this action with curl and a Personal Access Token generated from Github:\n```\ncurl -L\n   -X POST\n   -H \"Accept: application/vnd.github+json\"\n   -H \"Authorization: Bearer PERSONAL_ACCESS_TOKEN\"\n   -H \"X-GitHub-Api-Version: 2022-11-28\"\n   https://api.github.com/repos/stremio/server-docker/dispatches\n   -d '{\"event_type\":\"new-release\",\"client_payload\":{\"tag\": \"v4.20.3\"}}'\n```\n\n### Build images manually\n\n1. Update version tag:\n\n`docker buildx build --push --platform linux/arm64,linux/arm/v7,linux/amd64 --build-arg VERSION=v4.20.1 -t stremio/server:4.20.1 .`\n\n2. Update latest tag:\n\n\n`docker buildx build --push --platform linux/arm64,linux/arm/v7,linux/amd64 --build-arg VERSION=v4.20.1 -t stremio/server:latest .`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStremio%2Fserver-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStremio%2Fserver-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStremio%2Fserver-docker/lists"}