github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/images/couchdb/local.ini (about) 1 ; CouchDB Configuration Settings 2 3 ; Custom settings should be made in this file. They will override settings 4 ; in default.ini, but unlike changes made to default.ini, this file won't be 5 ; overwritten on server upgrade. 6 7 [chttpd] 8 bind_address = 0.0.0.0 9 10 [couchdb] 11 ; Specify the location of the database in container. 12 ; Optionally, these directories can be mounted in the host via docker. 13 database_dir = /opt/couchdb/data/ 14 view_index_dir = /opt/couchdb/data/ 15 uri_file = /opt/couchdb/data/couch.uri 16 17 ; Specify the number of database shards that can be open concurrently. 18 ; CouchDB uses LRU cache to manage open databases, and closes databases 19 ; as needed. Deployments with large numbers of channels and high 20 ; concurrency may need to increase this setting. 21 max_dbs_open = 8000 22 23 ; only allow the admin user to connect 24 ; Uncomment the following statement to enable admin user security. 25 ; default_security = admin_only 26 27 ; allow delayed commits since peer manages savepoints and flushing to disk 28 delayed_commits = true 29 30 [cluster] 31 ; peer maintains a single replica 32 n = 1 33 34 ; adjust q to set the level of parallelism locally 35 ; recommended to have no more than 10 million documents/shard (q) 36 ; for 100 million documents, q=10 -- at a minimum 37 q = 8 38 39 [log] 40 writer = file 41 file = /opt/couchdb/logs/couchdb.log 42 level = info 43 44 ; Uncomment the following two statements to enable admin user security. 45 ; [httpd] 46 ; www-authenticate = Basic realm="administrator" 47 48 [couch_httpd_auth] 49 ; Uncomment the following statement to enable admin user security. 50 ; require_valid_user = true 51 iterations = 1000 ; iterations for password hashing 52 53 ; Uncomment the following two statements to enable admin user security. 54 ; [admins] 55 ; admin = admin 56 57 [attachments] 58 compressible_types = text/*, application/javascript, application/json, application/xml, application/octet-stream