Skip to content

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 ​

KindWhereWhen it applies
Admin settingsAdmin → SettingsImmediately. Settings that need a restart say so
Environment variablesThe settings file of your install, Docker's environment: section, or a .env file from sourceWhen 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.

VariableDefaultWhat it does
APP_PORT3030The port ReelVault listens on
APP_HOST127.0.0.1The address to listen on. Use 0.0.0.0 to reach it from your network
ROOT_DIR./dataWhere the database, backups, logs and previews are stored
APP_PUBLIC_URLnoneThe public address, such as https://reelvault.example.com
APP_ALLOWED_ORIGINSnoneExtra addresses allowed to connect, separated by commas
APP_SECUREnoneSet to true when people use HTTPS
APP_COOKIE_DOMAINnoneCookie domain. Only for proxies that rewrite the Origin header
APP_TRUSTED_PROXY_COUNT0How many proxies stand in front of ReelVault. Use 1 for one nginx, Caddy or Traefik
APP_WEB_DISTnoneThe folder with the built web app to serve
APP_FFMPEG_PATH, APP_FFPROBE_PATHfrom PATHFull paths to specific ffmpeg binaries
SETUP_TOKEN_ENABLEDfalseAsk for a setup token before the first account is created
SETUP_TOKENgeneratedYour own setup token, at least 16 characters
BETTER_AUTH_SECRETgeneratedThe secret that signs sessions, at least 16 characters. Created and saved on the first start if you do not set it
LOG_LEVELinfotrace, debug, info, warn, error or fatal
REELVAULT_LOGIN_ACCOUNT_MAX_ATTEMPTS10Failed 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.

SettingDefaultWhat it controls
auth.allowRegistrationfalseWhether people can create their own accounts
metadata.minMatchScore0.45The lowest score a metadata match can have
scanning.autoWatcherEnabled—Notice new files without a manual scan
ffmpeg.hwaccelautoGraphics acceleration for conversion. See Transcoding
system.logs.levelfollows LOG_LEVELLog 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 ​

InstallCommand
Dockerdocker compose up -d (after you change docker-compose.yml)
Linux installersystemctl --user restart reelvault
Windows installerClose ReelVault and open it from the Start Menu again
Portable archiveStop the running start.sh or start.bat, then start it again

Next steps ​

Released under the GNU GPL v3.