Install ReelStash at home
One command sets up the whole stack — PostgreSQL, the API, the media and admin apps and, if you want it, qBittorrent — on any Linux or macOS machine with Docker.
Run the installer
Run this as a user that can use Docker:
installwget -qO- https://sweyam.com/products/reelstash/install.sh | sh # or with curl: curl -fsSL https://sweyam.com/products/reelstash/install.sh | shPrefer to read a script before piping it into a shell? Download it first:
read firstwget https://sweyam.com/products/reelstash/install.sh less install.sh sh install.shAnswer three questions
Each has a default; press Enter to accept it.
- Media folder
- Where your videos live on the host. It is mounted at /mnt inside the containers, so /srv/media/movies becomes /mnt/movies in ReelStash.
- Address
- The IP or hostname you will open ReelStash at. The installer detects one for you.
- qBittorrent
- Whether to also run qBittorrent for the Downloads workspace, wired to the same media folder.
Sign in and run the wizard
The installer generates strong passwords, writes the stack into
./reelstash/, starts everything and prints where to go:outputMedia app http://192.168.1.20:3091 Admin http://192.168.1.20:3092 Sign in as admin Password <generated>Open Admin, run the setup wizard and point it at a folder under
/mnt. It checks the folder, takes an optional TMDB key and runs the first scan. Then open the media app — or install the apps on your TV and phone.
Unattended or customised
Options go after sh -s --.
wget -qO- https://sweyam.com/products/reelstash/install.sh | sh -s -- \
--media /srv/media --host media.example.lan --qbittorrent --yes| Option | Meaning |
|---|---|
--dir PATH | Install folder (default ./reelstash) |
--media PATH | Media folder on the host |
--host NAME|IP | Address you open ReelStash at |
--admin-user NAME | First admin's username (default admin); the password is generated |
--qbittorrent / --no-qbittorrent | Add qBittorrent or not |
--ui-port N, --admin-port N | Ports (default 3091 and 3092) |
--tag TAG, --registry PREFIX | Which images to install |
--from-source | Build the images from the Git repository instead of pulling them |
--yes | Never prompt; use defaults for anything not given |
--print-compose | Print the compose.yml and exit |
Living with it
Everything lives in the install folder: .env holds the settings and generated passwords, and compose.yml is rewritten on each run, so don't edit it. If the host has /dev/dri, a compose.gpu.yml turns on hardware transcoding.
ReelStash's own data lives in Docker volumes, never in your media folder. Your media only changes through features you use: the organiser, Files and Downloads move rules.
Update by running the installer again in the same folder; it keeps .env, pulls newer images and restarts. Pin a release with --tag. Back up the PostgreSQL database and the asset volumes. Remove everything, data included, with docker compose down -v.
docker compose ps # status
docker compose logs -f media-api admin-api # API logs
docker compose down # stop; data is keptKeep it safe
Plain HTTP on your network
To reach it from outside, put a reverse proxy with HTTPS (Caddy, nginx, Cloudflare Tunnel) in front of the two ports, set
REELSTASH_MEDIA_URLSandREELSTASH_ADMIN_URLSin.envto the public addresses, and run the installer again.Change the admin password
The first password is also stored in
.env. After signing in and changing it in the app, delete theREELSTASH_ADMIN_PASSWORDline.Only two ports
The database and API are not published to the host — only the two web ports, and qBittorrent's peer port if you enabled it.
Sign in with passkeys
Install the Sweyam Auth plugin, or any OpenID Connect provider, so nobody needs a ReelStash password at all. About Sweyam Auth
Troubleshooting
| Problem | Fix |
|---|---|
| Could not pull the images | The registry may be unreachable. Check docker login, or use --from-source. |
| Port already in use | Use --ui-port and --admin-port. |
| No videos found after the wizard | Use the path inside the container (/mnt/...), not the host path. |
| Downloads says “permission denied” on move | The destination folder is not writable by MEDIA_UID. Create it as the media folder's owner. |
| Sign-in fails on a different address | Use the address you gave the installer, or add the other one to the REELSTASH_*_URLS lists in .env. |
Still stuck? The documentation on GitHub covers configuration, operations and backups, or read the FAQ.