CouchDB

FastX ships with the CouchDB database (http://couchdb.apache.org/)to store information as well as cluster and load balancing across multiple systems.  CouchDB is a stable, highly configurable, open source distributed database.

As to not conflict with other CouchDB installations, FastX uses the following configuration files to run the CouchDB instance

/usr/lib/fastx/var/local/db/vm.args

/usr/lib/fastx/3/www/server/db/http/couch/default.ini (DO NOT EDIT THIS FILE)

/usr/lib/fastx/var/local/db/couchdb.ini

 

You can edit the couchdb.ini file to configure the CouchDB instance as you wish.

See the CouchDB configuration for configuration options.  Below is the default CouchDB configuration overrides for FastX.
Note: Do not edit the admin named fastxadmin.  This file is overwritten each time fastx starts and the fastxadmin password dynamically changes.  If you wish to set up your own admin user for CouchDB, see Accessing CouchDB

[couchdb]
database_dir=/usr/lib/fastx/var/local/db/data
view_index_dir=/usr/lib/fastx/var/local/db/views

[chttpd]
bind_address=127.0.0.1
port=5989

[httpd]
authentication_handlers={chttpd_auth, proxy_authentification_handler}, {chttpd_auth, default_authentication_handler}

[log]
writer=file
level=crit
file=/usr/lib/fastx/var/local/db/couchdb.log

[cluster]
n=1

[couch_httpd_auth]
proxy_use_secret=true
secret=__dynamically_generated__

[admins]
fastxadmin = __dynamically_generated_password__