Configuration
In short
Most settings live in the admin panel and apply at once. A few must be set as environment variables before the server starts.
Where settings live
| Kind | Where | When it applies |
|---|---|---|
| Admin settings | Admin → Settings | Immediately. Settings that need a restart say so |
| Environment variables | The settings file of your install, Docker's environment: section, or a .env file from source | When the server starts |
Installers write environment variables to settings.env (Linux) or settings.cmd (Windows), in the install folder. Docker uses the environment: section of docker-compose.yml.
Back up your settings: in Admin → Settings, use Export. It saves the current values as reelvault-settings.json. Import applies such a file, and refuses it entirely if one value is invalid.
Environment variables
Set these before the server starts. Restart ReelVault after you change them.
| Variable | Default | What it does |
|---|---|---|
APP_PORT | 3030 | The port ReelVault listens on |
APP_HOST | 127.0.0.1 | The address to listen on. Use 0.0.0.0 to reach it from your network |
ROOT_DIR | ./data | Where the database, backups, logs and previews are stored |
APP_PUBLIC_URL | none | The public address, such as https://reelvault.example.com |
APP_ALLOWED_ORIGINS | none | Extra addresses allowed to connect, separated by commas |
APP_SECURE | none | Set to true when people use HTTPS |
APP_COOKIE_DOMAIN | none | Cookie domain. Only for proxies that rewrite the Origin header |
APP_TRUSTED_PROXY_COUNT | 0 | How many proxies stand in front of ReelVault. Use 1 for one nginx, Caddy or Traefik |
APP_WEB_DIST | none | The folder with the built web app to serve |
APP_FFMPEG_PATH, APP_FFPROBE_PATH | from PATH | Full paths to specific ffmpeg binaries |
SETUP_TOKEN_ENABLED | false | Ask for a setup token before the first account is created |
SETUP_TOKEN | generated | Your own setup token, at least 16 characters |
BETTER_AUTH_SECRET | generated | The secret that signs sessions, at least 16 characters. Created and saved on the first start if you do not set it |
LOG_LEVEL | info | trace, debug, info, warn, error or fatal |
REELVAULT_LOGIN_ACCOUNT_MAX_ATTEMPTS | 10 | Failed sign-ins allowed on one account before further attempts are refused for a while |
Example: a Docker setup with a fixed secret
yaml
services:
server:
environment:
BETTER_AUTH_SECRET: "replace-with-a-long-random-string"
APP_TRUSTED_PROXY_COUNT: "1"Useful admin settings
These keys appear in Admin → Settings. Use the search box to find them.
| Setting | Default | What it controls |
|---|---|---|
auth.allowRegistration | false | Whether people can create their own accounts |
metadata.minMatchScore | 0.45 | The lowest score a metadata match can have |
scanning.autoWatcherEnabled | — | Notice new files without a manual scan |
ffmpeg.hwaccel | auto | Graphics acceleration for conversion. See Transcoding |
system.logs.level | follows LOG_LEVEL | Log detail. Changes apply without a restart |
system.artifacts.coreMaxStorageGb | — | Space budget for previews |
plugins.http.allowedDomains | — | Web domains that plugins may contact |
Settings show their unit and whether they need a restart. Number fields show their allowed range.
Restart the server
| Install | Command |
|---|---|
| Docker | docker compose up -d (after you change docker-compose.yml) |
| Linux installer | systemctl --user restart reelvault |
| Windows installer | Close ReelVault and open it from the Start Menu again |
| Portable archive | Stop the running start.sh or start.bat, then start it again |
Next steps
- Remote access & HTTPS: the proxy and address settings.
- Transcoding & hardware: conversion and stream limits.