github.com/darrenli6/fabric-sdk-example@v0.0.0-20220109053535-94b13b56df8c/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 level = info 41 42 ; Uncomment the following two statements to enable admin user security. 43 ; [httpd] 44 ; www-authenticate = Basic realm="administrator" 45 46 [couch_httpd_auth] 47 ; Uncomment the following statement to enable admin user security. 48 ; require_valid_user = true 49 iterations = 1000 ; iterations for password hashing 50 51 ; Uncomment the following two statements to enable admin user security. 52 ; [admins] 53 ; admin = admin 54 55 [attachments] 56 compressible_types = text/*, application/javascript, application/json, application/xml, application/octet-stream