2. Configuration

Most of DATAGERRY’s configuration is stored in MongoDB. There are a few parameters which cannot be stored at this place (e.g. database connection to MongoDB itself). For this parameters, we provide an INI style configuration file, called cmdb.conf. Please see the following example:

host =
port = 27017
database_name = cmdb
;username = username
;password = password

host =
port = 4000

host =
port = 5672
username = guest
password = guest
exchange = datagerry.eventbus
connection_attempts = 2
retry_delay = 6
use_tls = False

It is possible to overwrite settings in the configuration file with OS environment variables. Please see the following example:


This feature is especially useful, if you want to run DATAGERRY in Docker.