ReelStash · Install

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.

  1. Run the installer

    Run this as a user that can use Docker:

    install
    wget -qO- https://sweyam.com/products/reelstash/install.sh | sh
    
    # or with curl:
    curl -fsSL https://sweyam.com/products/reelstash/install.sh | sh

    Prefer to read a script before piping it into a shell? Download it first:

    read first
    wget https://sweyam.com/products/reelstash/install.sh
    less install.sh
    sh install.sh
  2. Answer 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.
  3. Sign in and run the wizard

    The installer generates strong passwords, writes the stack into ./reelstash/, starts everything and prints where to go:

    output
      Media 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 --.

unattended
wget -qO- https://sweyam.com/products/reelstash/install.sh | sh -s -- \
  --media /srv/media --host media.example.lan --qbittorrent --yes
OptionMeaning
--dir PATHInstall folder (default ./reelstash)
--media PATHMedia folder on the host
--host NAME|IPAddress you open ReelStash at
--admin-user NAMEFirst admin's username (default admin); the password is generated
--qbittorrent / --no-qbittorrentAdd qBittorrent or not
--ui-port N, --admin-port NPorts (default 3091 and 3092)
--tag TAG, --registry PREFIXWhich images to install
--from-sourceBuild the images from the Git repository instead of pulling them
--yesNever prompt; use defaults for anything not given
--print-composePrint 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.

from the install folder
docker compose ps                            # status
docker compose logs -f media-api admin-api   # API logs
docker compose down                          # stop; data is kept

Keep 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_URLS and REELSTASH_ADMIN_URLS in .env to 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 the REELSTASH_ADMIN_PASSWORD line.

  • 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

ProblemFix
Could not pull the imagesThe registry may be unreachable. Check docker login, or use --from-source.
Port already in useUse --ui-port and --admin-port.
No videos found after the wizardUse the path inside the container (/mnt/...), not the host path.
Downloads says “permission denied” on moveThe destination folder is not writable by MEDIA_UID. Create it as the media folder's owner.
Sign-in fails on a different addressUse 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.