Other platforms¶
Horde installs in two different ways:
- In a container (Docker): the main way, and the right one for a home server or NAS that is always on. Install with Docker and TrueNAS / Dockge are the tested paths. Horde is one container plus a small helper, so any Docker host or container manager can run it; this page has recipes for the common ones. They all use the published image
ghcr.io/jm-connell/horde(64-bitamd64andarm64), so nothing is built on your machine. - As a standalone app (beta): one installer for Windows, macOS or Linux, no Docker. Simplest on a computer you use yourself. See Install the desktop app.
Container installs
| You have | Follow |
|---|---|
| A Linux server, mini PC, VM or NAS with a shell (Ubuntu, Debian, Fedora, OpenMediaVault, ...) | Install with Docker |
| TrueNAS SCALE | TrueNAS / Dockge |
| Raspberry Pi or another ARM board | Raspberry Pi, then Install with Docker |
| Proxmox | Proxmox, then Install with Docker |
| Windows with Docker Desktop | Windows |
| macOS with Docker Desktop | macOS |
| Unraid, Synology, Portainer | The sections below |
| Anything else that runs containers | Plain docker run |
Standalone app (beta, no Docker)
| You have | Follow |
|---|---|
| Windows 10 or 11, 64-bit | Install the desktop app |
| A Mac with Apple silicon | Install the desktop app |
| A 64-bit Linux desktop | Install the desktop app |
The rest of this page is about container installs.
Whatever the platform, Horde needs the same four things:
| Setting | Value |
|---|---|
PUID / PGID |
The user and group that own your media folder (id -u / id -g). Not 0. |
Media folder → /downloads |
Where videos go. May be a network share. |
Data folder → /app/data |
Database, settings, thumbnails, backups. Must be a local disk, not SMB/NFS. |
Port 8080 in the container |
Publish it on any host port; the guides use 8686. |
And the helper container brainicism/bgutil-ytdlp-pot-provider on the same Docker network, reachable as YTDLP_POT_BASE_URL=http://<its name>:4416. It lets YouTube downloads work without a Google login. Without it Horde runs, but YouTube downloads hit bot checks sooner.
Trusted network
The first visit creates the administrator account. Keep Horde on your home network or a VPN; see the internet exposure checklist before opening it up.
Raspberry Pi¶
A Raspberry Pi 4 or 5 with 4 GB of RAM or more runs Horde. It needs the 64-bit Raspberry Pi OS (or another 64-bit OS): the images are arm64 only, so the 32-bit OS cannot run them (uname -m prints aarch64 on a 64-bit OS).
- Install Docker with the official Debian guide, which is the one for 64-bit Raspberry Pi OS, then
sudo apt install git. - Follow Install with Docker from step 1.
Keep the media folder on a USB SSD or hard drive rather than the SD card, and put the data folder there too if you can (it is written often). A Pi has no hardware video encoder Horde can use, so leave Playback compatibility on AV1 only unless you need H.264 copies and can wait for them.
Proxmox¶
Run Horde in a Debian or Ubuntu VM (simplest), or in an LXC container with Docker inside: create it with Nesting turned on (Options → Features; an unprivileged container also needs keyctl). Then follow Install with Docker inside the VM or container. Put the data folder on the guest's own disk, not on a share mounted from elsewhere. To use a media folder from the Proxmox host in an LXC container, add it as a mount point and set PUID/PGID to the owner as seen inside the container (an unprivileged container shifts IDs by 100000).
Windows¶
There are two ways to run Horde on Windows:
- Standalone app (beta): one installer, no Docker. The simple way on a PC you use yourself. See Install the desktop app.
- Container, with Docker Desktop: for running Horde as a server. The steps are below.
Docker Desktop with WSL 2¶
Horde runs in a container on Windows through WSL 2, the Linux that Windows includes. Less tested than Linux; please report problems.
- Install Docker Desktop with the WSL 2 backend (the default), and Ubuntu from the Microsoft Store (or
wsl --install -d Ubuntuin PowerShell). - In Docker Desktop, Settings → Resources → WSL integration, turn on Ubuntu.
- Open Ubuntu from the Start menu and follow Install with Docker from step 1 in that terminal, skipping "Install Docker and Git" except
sudo apt install git.
Keep both folders inside Ubuntu's own disk (such as /home/<you>/horde-data), not under /mnt/c/...: the Windows drives are mounted like a network share, where the database can corrupt. To reach the videos from Windows, open \\wsl$\Ubuntu\home\<you>\horde-media in File Explorer. Open Horde at http://localhost:8686 on the PC; other devices use the PC's address, after allowing port 8686 in Windows Firewall. Update from the Ubuntu terminal with bash update.sh. The Update now button needs a cron job running in Ubuntu, which only runs while WSL keeps Ubuntu started, so the terminal is the dependable way here.
macOS¶
There are three ways to run Horde on a Mac:
| Way | What you get | Follow |
|---|---|---|
| Standalone app (beta) | One .dmg, no Docker. Apple silicon only, and it does not update itself yet. Simplest on a Mac you use yourself. |
Install the desktop app |
| Container, Docker Desktop | Horde in Docker Desktop, set up with one paste into Terminal. No Git. You update with two Terminal commands. | Docker Desktop below |
| Container, Docker with Git | The same as a Linux server: a clone of the repository, update.sh and the Update now button. |
Docker with Git below |
The container installs are less tested on a Mac than on Linux; please report problems.
Docker Desktop¶
This runs Horde in Docker Desktop (OrbStack works too), with no Git and no clone.
- Install Docker Desktop and open it. Wait until it says it is running.
-
Open Terminal and paste this whole block:
mkdir -p ~/horde ~/horde-media ~/horde-data && cd ~/horde && \ curl -fsSLO https://raw.githubusercontent.com/jm-connell/horde/main/docker-compose.yml && \ printf 'DOWNLOADS_PATH=%s\nDATA_PATH=%s\nPUID=%s\nPGID=%s\n' "$HOME/horde-media" "$HOME/horde-data" "$(id -u)" "$(id -g)" > .env && \ docker compose up -d && sleep 20 && open http://localhost:8686It creates
~/horde(the compose file and its.env),~/horde-media(your videos) and~/horde-data(database and settings), downloads the images and opens Horde in your browser. The first start takes a minute or two. -
Create the administrator account, then follow First run.
Horde then appears in Docker Desktop's Containers tab as a group named horde, where you can stop, start and read its logs. Docker Desktop must be running for Horde to run, and the Mac must stay awake for downloads. Open it at http://localhost:8686; other devices on your network use the Mac's address.
To update, run this in Terminal (the Update now button and update.sh need a clone of the repository, which this install skips):
cd ~/horde && docker compose pull && docker compose up -d
To keep the media folder somewhere else, such as an external drive, change DOWNLOADS_PATH in ~/horde/.env before the first start. Keep DATA_PATH on the Mac's own disk.
Docker with Git¶
Install Docker Desktop (or OrbStack), then follow Install with Docker from step 1 in Terminal. Git comes with the Xcode command line tools: xcode-select --install.
- Create the two folders under your home folder (
/Users/<you>/horde-media,/Users/<you>/horde-data), which Docker Desktop shares by default. id -u/id -gprint something like501/20: use those forPUID/PGID. If Horde's log says the media folder is not writable, run thechownfrom step 3 of the guide.- Open Horde at
http://localhost:8686. Docker Desktop must be running for Horde to run, and the Mac must stay awake for downloads.
Portainer¶
Use a stack from the Git repository, so Portainer gets the same compose file as everyone else:
- Stacks → Add stack, name it
horde, build method Repository. - Repository URL
https://github.com/jm-connell/horde, compose pathdocker-compose.yml. - Under Environment variables, add
PUID,PGID,DOWNLOADS_PATHandDATA_PATH(full host paths). Or upload a filled-in copy of.env.examplewith Load variables from .env file. - Deploy the stack, then open
http://<host>:8686.
Synology (Container Manager)¶
DSM 7.2 and later run Compose files as projects:
- In File Station, create a folder for the project (for example
docker/horde), a media folder and a data folder on a local volume (not a mounted share). - Download
docker-compose.ymland.env.examplefrom the repository into the project folder, and rename.env.exampleto.env. - Edit
.env:PUID/PGIDof the DSM user that owns the media folder (Control Panel → User, oridover SSH), and the full paths, which on Synology start with/volume1/.... - Container Manager → Project → Create, choose the project folder, use the existing
docker-compose.yml, and finish the wizard. - Open
http://<nas>:8686.
A Synology without SSH can still run Horde, but update.sh and the Update now button need a shell and a git checkout. Update with the project's pull and redeploy instead (below).
Unraid¶
Unraid's own templates manage one container at a time, and Horde wants two. The simplest route is the Docker Compose Manager plugin (from Community Applications):
- Install Docker Compose Manager from the Apps tab.
- Create a share for media. Horde's data goes in
appdataon the cache pool. - In a terminal:
git clone https://github.com/jm-connell/horde.git /mnt/user/appdata/horde-stack, thencd /mnt/user/appdata/horde-stackandgit checkout -B horde-release "$(git describe --tags --abbrev=0 --match 'v[0-9]*' --exclude '*-*')"(moves the checkout to the newest release, so it matches the image). Ifgitis missing, install it first (for example with the NerdTools plugin). - Docker → Compose → Add new stack, point it at that folder (Advanced → stack directory), then edit the stack's
.env:PUID=99,PGID=100(Unraid'snobody:users, the usual owner of shares),DOWNLOADS_PATH=/mnt/user/<media share>,DATA_PATH=/mnt/cache/appdata/horde(your pool's name instead ofcache). Give the database a pool path, not/mnt/user/...: the user-share layer is not a safe place for SQLite. - Compose Up, then open
http://<server>:8686.
Because the stack folder is a git clone, bash update.sh from the Unraid terminal works too.
Plain docker run¶
Without Compose, create a network so the two containers find each other, then start the helper and Horde:
docker network create horde
docker run -d --name horde-bgutil-pot --network horde --init \
--restart unless-stopped brainicism/bgutil-ytdlp-pot-provider:2.0.2
docker run -d --name horde --network horde --init --restart unless-stopped \
-p 8686:8080 \
-e PUID=1000 -e PGID=1000 \
-e YTDLP_POT_BASE_URL=http://horde-bgutil-pot:4416 \
-v /path/to/media:/downloads \
-v /path/to/horde-data:/app/data \
--add-host host.docker.internal:host-gateway \
--security-opt no-new-privileges:true \
--stop-timeout 40 \
ghcr.io/jm-connell/horde:latest
--stop-timeout 40 gives Horde the time Compose gives it to finish a stop cleanly (Docker's default is 10 seconds).
Replace the two /path/to/... folders with folders you created and own as PUID:PGID. Every other setting in Environment variables is another -e NAME=value.
Updating¶
With the published image, an update is "pull the new image and recreate the container":
| Platform | How |
|---|---|
| Portainer | Open the stack → Pull and redeploy (tick Re-pull image). |
| Synology | Over SSH: cd /volume1/docker/horde && sudo docker compose pull && sudo docker compose up -d (your project folder). Without SSH: stop the project, update the ghcr.io/jm-connell/horde image in Container Manager's Image list, and start the project again. |
| Unraid (Compose Manager) | Update Stack, or bash update.sh in the stack folder. |
docker run |
docker pull ghcr.io/jm-connell/horde:latest, then docker rm -f horde and the docker run command again. |
Your videos and data live in the two folders and survive this. Horde backs up its database before running a migration (in DATA_PATH/backups/), but only update.sh checks health afterwards and rolls back by itself. Pin a version (:1.2.2 instead of :latest) to choose when you move. After an update, hard-refresh the browser (Ctrl+Shift+R).