Web UI for SnapRAID — run sync/scrub, schedule jobs, monitor disks and SMART health
95
A modern web interface for SnapRAID.
Run sync and scrub, schedule jobs and keep an eye on disk health, all from your browser.
snapraid.conf files, excludes and pool settingsThe image ships with SnapRAID 14.9, so nothing needs to be installed on the host.
docker run -d --name snapraid-ui \
--privileged \
-p 3000:80 \
-v ./snapraid:/app/snapraid \
-v /mnt/disk1:/mnt/disk1 \
-v /mnt/disk2:/mnt/disk2 \
-v /mnt/parity:/mnt/parity \
tristanteu/snapraid-ui:latest
Open http://localhost:3000 and add your snapraid.conf in Manage Configurations.
Mount your disks at the same paths as on the host, so the paths in snapraid.conf stay valid. Parity and content locations must be writable. --privileged is only needed for SMART data and disk power.
curl -O https://raw.githubusercontent.com/firsttris/snapraid-ui/master/docker/docker-compose.yml
# add your disks under volumes:, then
docker compose up -d
For Podman with systemd, use the Quadlet files in docker/.
| Variable | Default | Purpose |
|---|---|---|
SNAPRAID_BASE_PATH | /app/snapraid | Holds config.json, schedules.json, logs and your SnapRAID configs. Mount it as a volume. |
SNAPRAID_BIN | /usr/local/bin/snapraid | SnapRAID binary. The bundled one is used unless you point this elsewhere. |
SNAPRAID_EXTRA_ARGS | (empty) | Extra arguments for every SnapRAID call |
Using your own SnapRAID binary: mount it and point SNAPRAID_BIN at it. It needs to be version 14.0 or newer, because the UI parses SnapRAID's structured log output.
-v /usr/bin/snapraid:/usr/bin/snapraid:ro \
-e SNAPRAID_BIN=/usr/bin/snapraid \
| Tag | Content |
|---|---|
latest | Latest release |
1.2.3, 1.2 | Specific release |
Requires Node.js 22+ and Deno 2.5+.
git clone https://github.com/firsttris/snapraid-ui
cd snapraid-ui
./install.sh
./start.sh # uses ./snapraid and the snapraid binary on your PATH
./start.sh --demo # sandbox with fake disks, no real array or SnapRAID install needed
Frontend runs on http://localhost:3000, backend API on http://localhost:8080. Ctrl+C stops both.
--demo runs dev/setup.sh, which builds a pinned SnapRAID into dev/bin/ (needs curl, gcc, make) and creates dev/sandbox/ with three data disks, a parity disk and a few pending changes. dev/setup.sh --reset starts over.
pgrep -af "src/main.ts" # show running backends
pkill -f "deno task dev"; pkill -f "deno run.*src/main.ts"
pkill -f "vite dev"
docker build -f docker/Dockerfile -t snapraid-ui .
Pushing a v* tag publishes a multi-arch image to Docker Hub via GitHub Actions.
Issues and pull requests are welcome. Please run npx biome check, npm run typecheck and the tests (deno test in backend/, npm test in frontend/) before opening a PR.
MIT
Content type
Image
Digest
sha256:cc8981cae…
Size
140.1 MB
Last updated
1 day ago
docker pull tristanteu/snapraid-ui