Trilium supports configuration via a file named config.ini and environment variables. Please review the file named config-sample.ini in the Notes repository to see what values are supported.
You can provide the same values via environment variables instead of the config.ini file, and these environment variables use the following format:
TRILIUM_ and use underscores to represent the INI section structure.TRILIUM_<SECTION>_<KEY>=<VALUE>For example, if you have this in your config.ini:
[Network]
host=localhost
port=8080
You can override these values using environment variables:
TRILIUM_NETWORK_HOST=0.0.0.0
TRILIUM_NETWORK_PORT=9000
The code will:
TRILIUM_