Skip to content

Configuration

StremThru is configured entirely through environment variables. This makes it straightforward to configure in Docker, Docker Compose, or any other deployment method.

Quick Reference

SectionKey Variables
ServerSTREMTHRU_BASE_URL, STREMTHRU_PORT, STREMTHRU_LOG_LEVEL
AuthenticationSTREMTHRU_PROXY_AUTH, STREMTHRU_AUTH_ADMIN
StoreSTREMTHRU_STORE_AUTH, STREMTHRU_STORE_TUNNEL, STREMTHRU_STORE_CONTENT_PROXY
Content ProxySTREMTHRU_CONTENT_PROXY_CONNECTION_LIMIT
Database & RedisSTREMTHRU_DATABASE_URI, STREMTHRU_REDIS_URI
IntegrationsTMDB, Trakt, AniList, MDBList, TVDB, GitHub

Setting Environment Variables

Docker:

sh
docker run -e STREMTHRU_PROXY_AUTH=user:pass muniftanjim/stremthru

Docker Compose (using .env file):

sh
STREMTHRU_PROXY_AUTH=user:pass
STREMTHRU_STORE_AUTH=user:realdebrid:your-token

From source:

sh
export STREMTHRU_PROXY_AUTH=user:pass
make run

Sections