Differences between revisions 4 and 5
Revision 4 as of 2009-08-13 12:40:12
Size: 1132
Editor: pat-tdc
Comment:
Revision 5 as of 2009-09-20 21:45:05
Size: 1132
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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