mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-01-16 01:39:23 -05:00
1005 B
1005 B
Database
Database settings are configured in the [database] section of your config.toml file. MediaManager uses PostgreSQL as its database backend.
Database Settings ([database])
host
Hostname or IP of the PostgreSQL server. Default islocalhost.port
Port number of the PostgreSQL server. Default is5432.user
Username for the PostgreSQL connection. Default isMediaManager.password
Password for the PostgreSQL user. Default isMediaManager.dbname
Name of the PostgreSQL database. Default isMediaManager.
Example Configuration
Here's a complete example of the database section in your config.toml:
{% code title="config.toml" %}
[database]
host = "db"
port = 5432
user = "MediaManager"
password = "your_secure_password"
dbname = "MediaManager"
{% endcode %}
{% hint style="info" %} In docker-compose deployments the container name is simultaneously its hostname, so you can use "db" or "postgres" as host. {% endhint %}