Skip to content
fileverdict.com
v1.8.2Download

Getting started

Running it in Docker

FileVerdict also comes as a Docker image, for a home server or NAS. It is the same app, with the same interface, used from a browser instead of a desktop window. Your files stay on the server and are worked on there, so a long queue of encodes can run overnight with no computer left on.

The image is ghcr.io/fileverdict/fileverdict. It runs on 64-bit Intel and AMD machines (linux/amd64). ffmpeg, MKVToolNix and Tesseract are inside it, the same builds the Linux app carries.

With Docker Compose, save this as docker-compose.yml, change the folder paths on the left and the two IDs, and run docker compose up -d:

services:
fileverdict:
image: ghcr.io/fileverdict/fileverdict:latest
container_name: fileverdict
ports:
- "8484:8484"
volumes:
- /path/to/appdata/fileverdict:/config
- /path/to/media:/storage
- /path/to/finished:/output
environment:
- PUID=1000
- PGID=1000
- UMASK=022
restart: unless-stopped

Or with plain Docker:

Terminal window
docker run -d --name fileverdict -p 8484:8484 \
-v /path/to/appdata/fileverdict:/config \
-v /path/to/media:/storage \
-v /path/to/finished:/output \
-e PUID=1000 -e PGID=1000 \
--restart unless-stopped ghcr.io/fileverdict/fileverdict:latest

Then open http://<your server>:8484 in a browser.

On TrueNAS SCALE 24.10 and later, where apps run on Docker, FileVerdict is added as a custom app: Apps → Discover Apps → Custom App. There are two ways to fill it in, and both make the same container:

  • Install via YAML (the ⋮ menu beside Custom App): paste a Compose file. Quickest, and easy to copy to another server.
  • The Custom App form: every setting in its own field, with the graphics card as a tick box.

The examples below use a pool called tank. Use your own pool’s name wherever tank appears.

FileVerdict needs a folder for each of the three folders. Make them as datasets under Datasets → Add Dataset, or use ones you already have:

Dataset (example) Its path on the server Becomes, in the container
tank/apps/fileverdict /mnt/tank/apps/fileverdict /config (settings, history, sign-in)
tank/media /mnt/tank/media /storage (the files to work on)
tank/finished /mnt/tank/finished /output (where finished files go)

The container runs as one user, set by PUID and PGID below, and that user has to be able to write to the config and finished datasets and read the media one. TrueNAS’s own apps user is user 568, group 568: the Apps dataset preset gives a new dataset to it. If your media belongs to someone else, use that owner’s IDs instead (see User and group IDs).

Give it a name, such as fileverdict, and paste this. The paths on the left of each volumes line are your datasets; the ones on the right stay as they are:

services:
fileverdict:
image: ghcr.io/fileverdict/fileverdict:latest
pull_policy: always
ports:
- "8484:8484"
volumes:
- /mnt/tank/apps/fileverdict:/config
- /mnt/tank/media:/storage
- /mnt/tank/finished:/output
environment:
- PUID=568
- PGID=568
- UMASK=022
restart: unless-stopped

For a graphics card, add the devices: or deploy: lines from Hardware encoding. TrueNAS’s editor removes comments, so add lines as they are, not commented out.

Go through the form from the top. Anything not mentioned here stays as it is.

Application name

  • Application Name: fileverdict.

Image Configuration

  • Repository: ghcr.io/fileverdict/fileverdict.
  • Tag: latest.
  • Pull Policy: Always pull an image even if it is present on the host, so a new release is fetched rather than the copy already on the server.

Container Configuration

  • Environment Variables: press Add three times and fill in each pair:

    Name Value
    PUID 568 (or your own user ID)
    PGID 568 (or your own group ID)
    UMASK 022
  • Restart Policy: Unless Stopped.

  • Devices: leave empty, unless you have Intel or AMD graphics and Use this GPU isn’t offered at the bottom of the form: then add one with /dev/dri as both the host and the container device.

Security Context Configuration

  • Leave Privileged and Custom User off. The container sets its own user from PUID and PGID.

Network Configuration

  • Leave Host Network off.
  • Ports: press Add, then:
    • Port Bind Mode: publish the port on the host for external access.
    • Host Port: 8484 (or another free port, if 8484 is taken; it is the port you type in the browser).
    • Container Port: 8484, always.
    • Protocol: TCP.

Portal Configuration (optional: a Web UI button on the app’s page)

  • Press Add, then Name Web UI, Protocol HTTP, tick Use Node IP, Port the host port above (8484), Path /.

Storage Configuration

Press Add three times, one for each folder. Each entry asks for two paths, and they are easy to mix up:

  • Mount Path is where the folder appears inside the container. It is always one of /config, /storage or /output, typed exactly.
  • Host Path is the dataset on your server, picked from the tree (or typed as /mnt/<pool>/...).
Type Mount Path Host Path (example) Read Only
Host Path /config /mnt/tank/apps/fileverdict off
Host Path /storage /mnt/tank/media off, or on to keep the originals untouched
Host Path /output /mnt/tank/finished off

Set Type to Host Path for all three, including /config. An ixVolume can be removed together with the app, and /config holds your settings, presets, history and sign-in. Leave Enable ACL off unless your datasets already use ACLs you manage.

If Storage /output is left out, finished files are written beside the originals in /storage, which then can’t be read only.

Resources Configuration

  • GPU Configuration: tick Use this GPU under your card to let the container use it for hardware encoding. Leave it off to encode on the processor only.

Then press Install. When the app shows as running, open http://<your server>:8484 (or press Web UI) and choose a username and password.

With the pull policy set to always pull, open the app under Apps, choose Edit, and Save without changing anything: TrueNAS recreates the container and fetches the newest image. Everything in /config carries over.

In the container What it is for
/config Settings, presets, history, the log, your sign-in and any Pro activation. Keep it: it is what lets a new image pick up where the old one left off.
/storage The files to work on. You add files from here, and the app shows it as Storage.
/output Where finished files go. The app shows it as Output.

Only /config is required. Map /storage read-only (/path/to/media:/storage:ro) if you want the originals left untouched whatever happens; then map /output too, so finished files have somewhere to go. Leave /output out and finished files are written beside their originals in Storage instead.

In the app, Add from Storage opens a browser of the Storage folder: tick files and whole folders (Select all ticks everything in the folder shown, and clicking one item then Shift-clicking another ticks everything between them), then add them. Under Settings, Where finished files go chooses between Output, beside the originals, or another folder inside Storage or Output. When Storage is read-only, the app says so and doesn’t offer to write there.

Keep /config outside the other two. The server refuses to start if it finds its data folder inside Storage or Output, because anything it writes there could then replace your sign-in.

PUID and PGID are the user and group the server runs as, so the files it writes belong to you and it can read your media. Use the IDs that own your media folders: id on the server shows yours. UMASK sets the permissions of new files (022 leaves them readable by others, 002 writable by your group too).

The server never runs as root: it refuses a PUID of 0.

The first visit asks you to choose a username and a password of at least 8 characters. Until then anyone who can reach the port can do that, so set it up before making the port reachable from outside your home network.

Wrong passwords are limited: after 5 from one address, that address waits 15 minutes.

To change the password, stop the container, delete server-auth.json from your /config folder, and start it again. The next visit sets up a new username and password; nothing else is lost.

The server answers to its IP address, localhost, a name with no dots (such as nas), and names ending in .local, .lan, .home.arpa or .internal. That covers reaching it on a home network. Any other name gets the answer “This server doesn’t answer to that name”, which keeps other websites from reaching it through your browser.

If you reach it by a domain of your own, such as media.example.com through a reverse proxy, add that name:

environment:
- FILEVERDICT_ALLOWED_HOSTS=media.example.com

Several names are separated by commas, and .example.com allows every name under example.com.

The server speaks plain HTTP. For HTTPS, put it behind a reverse proxy such as Caddy, Nginx Proxy Manager, Traefik or SWAG, and add your domain as above.

Keep FileVerdict’s own sign-in on unless the proxy signs people in itself. If it does (Authelia, Authentik, or the proxy’s own login), you can turn FileVerdict’s off, but only together with the proxy’s address, so that nothing else can reach it:

environment:
- FILEVERDICT_AUTH=external
- FILEVERDICT_TRUSTED_PROXIES=172.18.0.0/16

FILEVERDICT_TRUSTED_PROXIES takes addresses or ranges, separated by commas. With sign-in off, the server takes requests only from those, and won’t start without them. For a proxy in another container on the same Docker network, use that network’s range (docker network inspect shows it).

Without a graphics card, every encode runs on the server’s processor. If the server has one, you can give the container access to it, and the hardware encoders in Compress → Video work as they do on a desktop: NVENC on NVIDIA, VAAPI and Quick Sync on Intel and AMD. NLMeans noise reduction and HDR conversion then run on the card too.

Hardware encoders are much faster, but they make a larger file than x265 at the same quality (see Video tab). If your queue runs overnight anyway, the processor may be the better choice.

Giving a container a graphics card is not like passing a card through to a virtual machine. The card stays with the server, and the container is only allowed to use it. Nothing else loses it: Plex or Jellyfin can keep using the same card at the same time.

A graphics driver comes in two parts. The part that runs the card is on the server, and every container shares it. The part programs load to talk to it has to be inside the container. For Intel and AMD, the FileVerdict image carries that part. For NVIDIA, NVIDIA’s Container Toolkit copies it in from the server when the container starts, so it always matches the server’s driver.

So all you do is tell Docker to let the container use the card, as below.

Pass in /dev/dri. With Compose:

devices:
- /dev/dri:/dev/dri

Or add --device /dev/dri:/dev/dri to docker run.

The device belongs to a group on the server, usually render or video, and the container joins that group by itself, so PUID and PGID stay as they are. If you start the container with --user instead, add the group yourself: --group-add followed by the number stat -c %g /dev/dri/renderD128 shows.

The drivers in the image are Debian 12’s. Some older Intel processors only encode H.265 with Intel’s non-free driver, which the image doesn’t include, and graphics much newer than Debian 12 may not be recognised. In both cases the encoders show as not available.

The server needs NVIDIA’s driver and the NVIDIA Container Toolkit. Then, with Compose:

deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]

Or add --gpus all to docker run.

Unraid. For Intel or AMD, add a Device to the container set to /dev/dri. For NVIDIA, install the Nvidia Driver plugin, then add --runtime=nvidia to the container’s Extra Parameters and an NVIDIA_VISIBLE_DEVICES variable set to the card’s ID from the plugin’s page.

TrueNAS SCALE (24.10 and later, where apps run on Docker). In the Custom App form, Resources Configuration lists the server’s graphics: tick Use this GPU and TrueNAS passes it in. In a YAML app, add the devices: or deploy: lines above. On TrueNAS SCALE covers both.

For NVIDIA, turn on TrueNAS’s NVIDIA driver in the Apps settings first. On either system, a card set aside for virtual machines can’t be used by apps: leave it unassigned.

Open Compress → Video. The encoder for your card is no longer greyed out, and a short Test a sample with it shows the speed. diagnostics.log in /config says which device VAAPI uses and whether NLMeans runs on the graphics card.

  • Files are added from Storage instead of dragged in or picked from your computer.
  • Folders are shown by name, as Storage › Films › … and Output › …, rather than as paths inside the container.
  • Things only a desktop does aren’t offered: putting the computer to sleep or shutting it down when the queue finishes, notifications, and showing a file in a file manager.
  • Every open tab shows the same session, and the queue keeps running with no tab open.

Everything else, from the track review to Compress and the queue, is the same. Pro works the same way too: enter your key in Settings › License, and the server counts as one of the key’s three devices. See Upgrading to Pro.

The image doesn’t update itself. To update, pull the new image and recreate the container:

Terminal window
docker compose pull
docker compose up -d

Everything you set up is in /config, so it carries over. Each release is tagged with its version as well as latest, if you would rather choose when to move.

The server’s log is diagnostics.log in your /config folder, and docker logs fileverdict shows what it printed when it started. The most common problems:

  • Permission denied writing a file: PUID and PGID don’t match the owner of the folder. Check with ls -ln on the server.
  • “This server doesn’t answer to that name”: add the name to FILEVERDICT_ALLOWED_HOSTS.
  • The sign-in page says the sign-in file can’t be read: server-auth.json in /config is damaged. Restore it from a backup, or delete it and restart to choose a new username and password.
  • The hardware encoder is greyed out: check the card is passed in (docker exec fileverdict ls /dev/dri for Intel and AMD, or docker exec fileverdict nvidia-smi for NVIDIA). docker logs fileverdict says if the device belongs to a group the container can’t join.

See also Troubleshooting.