1[couchdb]
2max_dbs_open = 10000
3database_dir = @COUCHBASE_DB_DIR@
4view_index_dir = @COUCHBASE_DB_DIR@
5
6
7[httpd]
8db_frontend = capi_frontend
9ip4_bind_address = 0.0.0.0
10ip6_bind_address = ::
11port = 8092
12; this gets us auth support on capi port
13WWW-Authenticate = Basic realm="capi"
14
15[httpd_db_handlers]
16_all_docs = {capi_view, all_docs_db_req}
17
18[httpd_design_handlers]
19_view = {capi_view, handle_view_req}
20_spatial = {capi_spatial, handle_view_req}
21
22[database_compaction]
23doc_buffer_size = 2097152
24checkpoint_after = 20971520
25
26[daemons]
27; Started by ns_server's supervision trees.
28compaction_daemon =
29replication_manager =
30
31; Not using these in couchbase
32stats_aggregator =
33stats_collector =
34
35[compaction_daemon]
36check_interval = 30
37min_file_size = 131072
38
39[httpd_global_handlers]
40_pre_replicate = {capi_replication, handle_pre_replicate}
41_mass_vbopaque_check = {capi_replication, handle_mass_vbopaque_check}
42_commit_for_checkpoint = {capi_replication, handle_commit_for_checkpoint}
43_view_merge = {capi_view, handle_view_merge_req}
44_spatial_merge = {capi_spatial, handle_view_merge_req}
45
46;[compactions]
47;_default = [{db_fragmentation, {"30%", nil}},
48;            {view_fragmentation, {"30%", nil}}]
49;
50
51; * db_fragmentation / view_fragmentation
52;
53; Both expect a tuple of {Ratio, ByteLimit} where Ratio is an integer
54; percentange of old data vs all data, and the ByteLimit is the total size
55; of all data - new data.
56; When fragemnted data is greater than or equal to either of these values,
57; auto compaction is triggered.
58; both values can be nil to ignore the conditions
59