How to run a stream recorder on a NAS with Docker

Run VodLabs Recorder's Docker image on a NAS or home server that stays on, and it records every stream around the clock without your computer. Two commands start it, and you manage it from a web page on your home network. It's free and runs on x86 and ARM machines.

By The VodLabs teamUpdated 3 min read

Tested with VodLabs Recorder 0.0.28

On this page
  1. Why a NAS
  2. What you need
  3. Step 1: Get the Compose file
  4. Step 2: Set the user and time zone
  5. Step 3: Start it
  6. Step 4: Open the Web UI
  7. Recordings on a separate share
  8. Keep it safe
  9. Update it
  10. What’s different from the desktop app

Why a NAS

A recorder records only while the machine it runs on is on. A NAS or a small home server is on all the time, uses little power, and usually has the most disk space in the house, which is what stream recordings need. Docker runs the same recorder there with no desktop: you open its interface, the Web UI, from any browser on your network.

What you need

  • A NAS or server that runs Docker with Compose, on a 64-bit Intel, AMD or ARM processor.
  • A folder on it for the recorder, and enough space for the recordings: a 1080p stream takes about 2 to 4 GB an hour. The disk space guide has a calculator.

Step 1: Get the Compose file

On the NAS, in a terminal (SSH) or your NAS’s Docker or Container app, make a folder for the recorder and put the Compose file in it:

mkdir vodlabs-recorder && cd vodlabs-recorder
curl -fsSLO https://vodlabs.io/compose.yaml

Step 2: Set the user and time zone

The recorder never runs as root. Tell it which user owns its files, and your time zone for the folder names, in a .env file beside compose.yaml:

echo "PUID=$(id -u)" > .env
echo "PGID=$(id -g)" >> .env
echo "TZ=Europe/Berlin" >> .env

Use your own time zone. On a NAS, the user must have write access to the shared folder the recordings go to.

Step 3: Start it

Create the two folders first, so they belong to your user and not to root, then start the container:

mkdir config recordings
docker compose up -d

config holds the settings, streamer list and logins: back it up. recordings holds the recordings.

Step 4: Open the Web UI

Print a sign-in link and open it in a browser on the same network:

docker compose exec recorder vod web url

It looks like http://localhost:8080/signin#token=…. On another computer or a phone, replace localhost with the NAS’s address, such as 192.168.1.20. The browser stays signed in for 30 days of use. Then add streamers on the Dashboard exactly as in the desktop app, and they record as they go live into recordings/<platform>/<streamer>/<date and time>/.

Recordings on a separate share

To keep finished recordings on another volume, mount it into the container in compose.yaml:

    volumes:
      - /volume1/vods:/archive

Then, in the Web UI, set Settings → Files → Archive folder to /archive. Each recording moves there once it is finished. Use the path inside the container, not the NAS path.

Keep it safe

  • Never forward port 8080 from the internet. Anyone with a session controls the recorder, including your stored logins. To reach it from outside, use a VPN such as Tailscale.
  • Treat the sign-in link like a password. To sign every browser out, replace the token with docker compose exec recorder vod web token --rotate.
  • The Compose file is already hardened: a read-only container, no root, all Linux capabilities dropped. Keep those settings.

Update it

docker compose pull
docker compose up -d

Settings, streamers, logins and recordings carry over. The Web UI’s Update page says when a new version is out.

What’s different from the desktop app

  • Platform logins are pasted, on the Accounts page, from a browser that is signed in. Nothing renews them.
  • Age-restricted TikTok LIVEs and a few checks that need a browser are skipped.
  • Recordings play and download in the browser instead of opening in a video player on the machine.

Everything else, from which streams it records to how it names the files, is the same recorder.

FAQ

Questions, answered.

Which NAS models can run it?

Any that runs Docker containers on a 64-bit Intel, AMD or ARM processor: the image is published for linux/amd64 and linux/arm64. That covers most current Synology, QNAP, Unraid and TrueNAS systems, mini PCs and a Raspberry Pi 4 or 5.

Does the Docker version cost anything?

No. It is the same free recorder as the desktop app, with the app's interface served as a web page.

Can I reach it from outside my home?

Use a VPN such as Tailscale. Never forward its port from the internet on your router.

Can it record 18+ and subscriber-only streams?

Yes, on platforms that support signing in: paste a Cookie header from a browser that is signed in, on the Accounts page. Nothing renews it, so paste a new one when it expires. Age-restricted TikTok LIVEs need the desktop app.

VodLabs Recorder

Record it automatically, for free.