CouchDB service for CloudFoundry
The couchdb service manages a single shared instance of CouchDB that is managed (started, stopped etc) by the OS; in that it is more similar to the MySQL or PostgreSQL services than MongoDB.
Most distributions of CouchDB come with no security by default. To run the CF service you must enable mandatory security by editing your local.ini file. Depending on the OS, you can find it in /etc/local.ini (on Linux), /usr/local/etc/local.ini (on FreeBSD) or ~/etc/local.ini (on Mac OS X with homebrew). As a minimum, you need to add:
[couch_httpd_auth] require_valid_user = true [admins] admin = mysecretpassword
You also need to configure the same password for the admin user in the couchdb_node.yml config file.