selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

stremio-docker logo

Self-host stremio-docker

v1.3.14

All-in-one Docker image for self-hosted Stremio streaming

ReleaseOpen SourceMIT
docker run -d --name=stremio-docker -e NO_CORS=1 -e AUTO_SERVER_URL=1 -v ./stremio-data:/root/.stremio-server -p 8080:8080/tcp --restart unless-stopped tsaridas/stremio-docker:latest
Updated10 hours ago
LanguageJavaScript
Setup difficultyEasy
Stars
526
Port
8080 (Web player and streaming server (both behind nginx))
Docker
tsaridas/stremio-docker

What is stremio-docker?

stremio-docker packages the Stremio media streaming server, its web player, and a custom ffmpeg build with VAAPI hardware acceleration into a single Alpine-based Docker image. It simplifies self-hosting by running both the web UI and streaming server on port 8080 behind nginx, with automatic HTTPS certificate generation via *.stremio.rocks subdomains or custom domains. The image supports Intel/AMD GPU transcoding on Linux hosts, CPU-only transcoding on Windows/macOS, and HTTP Basic Auth for security. Configuration is done via environment variables for server URL, certificates, authentication, and casting. No external database or cache is required — all state persists in a mounted volume.

Should you self-host stremio-docker?

stremio-docker scores 52/100 on selfhost.directory (how scoring works) and ranks #33 of 54 in Media Streaming. It has 526 GitHub stars.

It shipped 17 stable releases in the past year. The latest, v1.3.14, came out on 21 October 2026. New versions land roughly every 10 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is Invidious (81/100, 25 799 stars). It scores higher overall, so compare the two before you pick. See stremio-docker vs Invidious side by side.

Features

  • All-in-one container
  • Automatic HTTPS certificates
  • Automatic server URL configuration
  • Cache disable option
  • Casting disable option
  • CORS control
  • Custom domain and certificates
  • Custom ffmpeg/ffprobe paths
  • Hardware transcoding (VAAPI)Linux only; Windows/macOS use CPU transcoding
  • HTTP Basic Authentication
  • Single port exposure

stremio-docker README

How to install stremio-docker

Install stremio-docker with Docker

Docker installed
Environment variables
NO_CORS, AUTO_SERVER_URL, IPADDRESS, USERNAME, PASSWORD, DOMAIN, CERT_FILE, etc.
docker run -d \
  --name=stremio-docker \
  -e NO_CORS=1 \
  -e AUTO_SERVER_URL=1 \
  -v ./stremio-data:/root/.stremio-server \
  -p 8080:8080/tcp \
  --restart unless-stopped \
  tsaridas/stremio-docker:latest

Direct docker run command

How to configure stremio-docker

  • APP_PATHSet for custom path for stremio server config files. Cache always saves to /root/.stremio-server.

    Set for custom path for stremio server config files. Cache always saves to /root/.stremio-server.

    values: Path string

  • AUTO_SERVER_URL0When set to 1, the streaming server URL is automatically detected from the browser's URL. Recommended for most users.

    When set to 1, the streaming server URL is automatically detected from the browser's URL. Recommended for most users.

    values: 0 or 1

  • CASTING_DISABLEDSet to disable casting. Set to 1 if getting SSDP errors in logs.

    Set to disable casting. Set to 1 if getting SSDP errors in logs.

    values: 0 or 1

  • CERT_FILESet for custom certificate path. The server and web player will load the specified certificate.

    Set for custom certificate path. The server and web player will load the specified certificate.

    values: Certificate filename

  • DISABLE_CACHINGDisable caching for server if set to 1.

    Disable caching for server if set to 1.

    values: 0 or 1

  • DOMAINSet for custom domain for stremio server. Must match certificate and requires CERT_FILE.

    Set for custom domain for stremio server. Must match certificate and requires CERT_FILE.

    values: Domain name

  • FFMPEG_BINSet for custom ffmpeg binary path.

    Set for custom ffmpeg binary path.

    values: Path string

  • FFPROBE_BINSet for custom ffprobe binary path.

    Set for custom ffprobe binary path.

    values: Path string

  • IPADDRESSSet to a valid IPv4 to enable HTTPS and generate certificates with the stremio domain. Use 0.0.0.0 for auto-detect public IP. Does not work for IPv6.

    Set to a valid IPv4 to enable HTTPS and generate certificates with the stremio domain. Use 0.0.0.0 for auto-detect public IP. Does not work for IPv6.

    values: IPv4 address or 0.0.0.0

  • NO_CORS1Set to disable server's CORS. Default is disabled (1 = disabled).

    Set to disable server's CORS. Default is disabled (1 = disabled).

    values: 0 or 1

  • PASSWORDSet for custom password for HTTP basic authentication.

    Set for custom password for HTTP basic authentication.

    values: Password string

  • SERVER_URLManually sets the streaming server URL. Useful when you want to force a specific URL.

    Manually sets the streaming server URL. Useful when you want to force a specific URL.

    values: URL string

  • USERNAMESet for custom username for HTTP basic authentication.

    Set for custom username for HTTP basic authentication.

    values: Username string

  • VAAPI_PREFLIGHT1Enables/disables the startup VA-API DRM render-node probe. Set to 0 to suppress all preflight output.

    Enables/disables the startup VA-API DRM render-node probe. Set to 0 to suppress all preflight output.

    values: 0 or 1

  • VAAPI_PREFLIGHT_DEBUG0When 1, prints the full ffmpeg stderr for each DRM node probed at startup.

    When 1, prints the full ffmpeg stderr for each DRM node probed at startup.

    values: 0 or 1

  • WEBUI_INTERNAL_PORT8080Sets the port inside the docker container for the web player.

    Sets the port inside the docker container for the web player.

    values: Port number

  • WEBUI_LOCATIONhttps://app.strem.io/shell-v4.4/Sets the redirect page for web player and automatically sets up streaming server when accessing server at port 11470 or 12470.

    Sets the redirect page for web player and automatically sets up streaming server when accessing server at port 11470 or 12470.

    values: URL string

stremio-docker releases & version history

More in Media Streaming

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…