Mediarium
Documentation menu

Docs / Reference

Environment variables

Container-level settings only. Everything else (indexers, Usenet servers, naming, VPN, notifications) is set in the app under Settings, not here. PUID, PGID and TZ are read by the container entrypoint, not by the app. Every variable here except those three can also be given as NAME_FILE=/path/to/file (for example /run/secrets/x with Docker secrets): the app reads the value from that file and trims the whitespace around it. If both are set, NAME wins.

Variable Default
ALLOWED_ORIGINS ``
APP_PORT 8264
AUDIOBOOKS_DIR /audiobooks
BUNDLED_FLARESOLVERR ``
CONFIG_DIR /config
DOWNLOADS_DIR /downloads
EBOOKS_DIR /ebooks
MEDIARIUM_DISABLE_SSO ``
MEDIARIUM_DISABLE_STATS ``
MEDIARIUM_IMAGE_VERSION ``
MEDIARIUM_PAUSE_AUTOMATION ``
MEDIARIUM_SUPERVISED ``
MOVIES_DIR /movies
MUSIC_DIR /music
TRUSTED_PROXIES private
TV_DIR /tv
URL_BASE ``
PUID 1000
PGID 1000
TZ Etc/UTC

Suggest a change to this page on GitHub

Buy a coffee

Enjoying Mediarium?

It is free and made in spare time. A coffee helps keep it running.

Support on Ko-fi

No account needed. Opens Ko-fi in a new tab. Nothing loads from Ko-fi until you click.