Configuration

RDBM accepts configuration parameters from the command-line, configuration file, and environment variables.

The configuration set through the command line has the highest priority and will override the same parameter set in a configuration file or environment variables.

Here is a bare-minimum configuration example, required to help RDBM address the database:

db.cfg
db_host=localhost
db_name=postgres
db_port=5432
db_user=postgres
db_password=passwd

The same result can be achieved with a single db_url param:

db_url=postgres://db_user:db_password@db_host:db_port/db_name

For details, please follow the "Connection URIs" in Postgres documentation here.

Environment variables can be used as well. While configuration parameter names are case-insensitive and may use equal (=) or colon (:) symbol as a separator in key=value pair, environment variables params must have CAPITALIZED names.

Environment variables have the lowest priority.