Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I locate CouchDB's local.ini file so I can customize its settings?

I've installed CouchDB (to run a local npm registry) and need to locate the local.ini file so I can customize the couch settings.

How do I find the local.ini file?

like image 850
adamjcooper Avatar asked Mar 04 '14 15:03

adamjcooper


2 Answers

Run the following to display the chain of configuration files CouchDB uses, which should include the local.ini file:

couchdb -c

Example output:

/usr/local/etc/couchdb/default.ini
/usr/local/etc/couchdb/local.ini
like image 62
adamjcooper Avatar answered Nov 01 '22 17:11

adamjcooper


For Ubuntu 18.04.4 LTS (Bionic Beaver), installing from the package repository, I found it in here:

/opt/couchdb/etc/local.ini
like image 44
Alfredo Morales Pinzón Avatar answered Nov 01 '22 19:11

Alfredo Morales Pinzón