Docker
Docker is the easiest way to run Streamline on a home server.
The image is published for both x86 and ARM (including Raspberry Pi and Apple silicon) at ghcr.io/abhichandra21/streamline.
Set it up
Section titled “Set it up”git clone https://github.com/abhichandra21/streamline.gitcd streamlinemkdir -p data recommender/cache logstouch config.local.yaml-
Copy your export files into
data/, for exampledata/netflix/export.zip. See Watch history. -
Start the web UI:
Terminal window docker compose up -d -
Open http://localhost:5051 and follow Get started in Settings: add your keys, point at your exports, then build your library. See Getting started.
Keys can also go in .env (TMDB_API_KEY plus one LLM key, such as ANTHROPIC_API_KEY), and setup also runs from the terminal with docker compose run --rm streamline ./recommend setup.
Everyday commands
Section titled “Everyday commands”Every ./recommend command works inside the container:
docker compose run --rm streamline ./recommend setup --refresh-profiledocker compose run --rm streamline ./recommend setup --refresh-datadocker compose exec streamline ./recommend "gritty British crime drama"Update to the latest version with:
git pulldocker compose pulldocker compose up -dThe version at the bottom of every page shows whether the update took.
If git pull says your local changes to config.yaml would be overwritten, see Settings.
Where your data lives
Section titled “Where your data lives”The container keeps nothing of its own. Everything is in the checkout folder, in the same places as a non-Docker install:
| Folder or file | What it holds |
|---|---|
data/ |
Your exports and streamline.db (history, ratings, watchlist, follows, searches) |
recommender/cache/ |
TMDB data, descriptions, the taste profile, IMDb ratings |
logs/ |
The app log |
config.yaml |
The shipped default settings; updated by git pull |
config.local.yaml |
Your export paths, and anything you change on the Settings page |
Back up data/streamline.db; Plex plays and your ratings exist only there.
- Create
config.local.yamlbefore the firstdocker composecommand. If it is missing, Docker creates a folder with that name instead, and Settings can’t save. - Until the first build finishes,
docker compose psshows the container as starting for a few minutes and then unhealthy. That is expected; it turns healthy once the library is built. - The container runs as user ID 1000. On Linux, if your user has a different ID, set
PUIDandPGIDin.envto your IDs (runidto see them). - For other first-run problems, see Troubleshooting.
- Set
STREAMLINE_PASSWORDin.envif anyone else can reach the server. See Running as a service. - To build the image yourself instead of pulling it, run
docker compose build.
