Skip to content

Configuration

Martin Brocker edited this page Aug 5, 2019 · 1 revision

To configure Hearth you may either edit the config files directly in the config/ folder or you may use environment variables. There is a default config file and config files for production and or testing environments that override the default config file. Environment variables override the values set in any of the config files. To overwrite json config variables with environment variables you can level down the object with __ (double underscore). For example { mongodb: { url: 'localhost' } } can be overwritten with mongodb__url=foreignhost

View the possible config fields here.