LibreNMS allows certain settings to be set via the environment or through the .env file.
Set the variables to connect to the database. The default values are shown below.
DB_HOST=localhost DB_PORT=3306 DB_DATABASE=librenms DB_USERNAME=librenms DB_PASSWORD= DB_SOCKET=
Trusted Reverse Proxies
A comma separated list of trusted reverse proxy IPs or CIDR.
For legacy reasons the default is
'*', which means any proxy is allowed.
'**' means trust any proxy up the chain.
Set the base url for generated urls. Do not set this if it is not needed.
You may need to set this when using reverse proxies combined with a subdirectory.
Generally, LibreNMS will make correct URLs (especially if you have set up your proxy variables correctly)
User / Group
The user and group that LibreNMS should operate as. Group will default to the same as the user if unset.
Increases the amount of information shown when an error occurs.
WARNING: This may leak information, do not leave enabled.