Configuration
MediaManager uses a TOML configuration file (config.toml
) for all backend settings. This centralized configuration approach makes it easier to manage, backup, and share your MediaManager setup.
Frontend settings are configured through environment variables in your docker-compose.yaml
file.
Configuration File Location
Your config.toml
file should be in the directory that's mounted to /app/config/config.toml
inside the container:
Though you can change the location of the configuration file's directory by setting the CONFIG_DIR
env variable to another path, e.g. /etc/mediamanager/
.
Configuration Sections
The configuration is organized into the following sections:
[misc]
- General settings[database]
- Database settings[auth]
- Authentication settings[notifications]
- Notification settings (Email, Gotify, Ntfy, Pushover)[torrents]
- Download client settings (qBittorrent, Transmission, SABnzbd)[indexers]
- Indexer settings (Prowlarr and Jackett )[metadata]
- TMDB and TVDB settings
Configuring Secrets
For sensitive information like API keys, passwords, and secrets, you should use environment variables. You can actually set every configuration value through environment variables. For example, to set the token_secret
value for authentication, with a .toml file you would use:
But you can also set it through an environment variable:
or another example with the OIDC client secret:
env variable:
So for every config "level", you basically have to take the name of the value and prepend it with the section names in uppercase with 2 underscores as delimiters and MEDIAMANAGER_
as the prefix.