12.2. Configuration File Locations

CouchDB reads files from the following locations, in the following order.

  1. PREFIX/default.ini

  2. PREFIX/default.d/*

  3. PREFIX/local.ini

  4. PREFIX/local.d/*

Settings in successive documents override the settings in earlier entries. For example, setting the bind_address parameter in local.ini would override any setting in default.ini.

Warning

The default.ini file may be overwritten during an upgrade or re-installation, so localised changes should be made to the local.ini file or files within the local.d directory.