Differences between revisions 3 and 4
Revision 3 as of 2008-12-14 05:51:35
Size: 1115
Editor: galileo
Comment: Added note about binding to all interfaces.
Revision 4 as of 2009-08-13 12:40:12
Size: 1132
Editor: pat-tdc
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
 * {{{LogLevel}}} - values 'info', 'debug'  * {{{LogLevel}}} - values 'none', 'error', 'info', 'debug'

The default location of the couch.ini file is in /usr/local/etc/couchdb. It is the local configuration file for the couch server.

The default configuration file is shown, with each option described in detail.

; etc/couchdb/couch.ini.tpl.  Generated from couch.ini.tpl.in by configure.
[Couch]
ConsoleStartupMsg=Apache CouchDB is starting.
DbRootDir=/usr/local/var/lib/couchdb
Port=5984
BindAddress=192.168.109.162
DocumentRoot=/usr/local/share/couchdb/www
LogFile=/usr/local/var/log/couchdb/couch.log
UtilDriverDir=/usr/local/lib/couchdb/erlang/lib/couch-0.8.0-incubating/priv/lib
LogLevel=info
[Couch Query Servers]
javascript=/usr/local/bin/couchjs /usr/local/share/couchdb/server/main.js

Couch section

  • ConsoleStartupMsg

  • DbRootDir

  • Port

  • BindAddress - you probably need to change this to your outward facing network interface. Use 0.0.0.0 to bind to all interfaces.

  • DocumentRoot

  • LogFile

  • UtilDriverDir

  • LogLevel - values 'none', 'error', 'info', 'debug'

Couch Query Servers section

  • javascript