-
Notifications
You must be signed in to change notification settings - Fork 138
CBGT Configuration Values
Traun Leyden edited this page Sep 3, 2015
·
15 revisions
Example config:
{
"interface":":4984",
"adminInterface":":4985",
"log":[
"*"
],
"verbose":"true",
"cluster_config":{
"server":"http://localhost:8091",
"data_dir":"/tmp/sg",
"bucket":"default"
},
"databases":{
"db":{
"feed_type":"DCPSHARD",
"feed_params":{
"max_partitions_per_pindex":64,
"num_replicas":0
},
"server":"http://localhost:8091",
"revs_limit":300,
"users":{
"GUEST":{
"disabled":true,
"admin_channels":[
"*"
]
}
},
"bucket":"default",
"channel_index":{
"server":"http://channel_index@localhost:8091",
"bucket":"channel_index",
"writer":true
}
}
}
}
Path | Example Value | Description |
---|---|---|
datebases/db/feedtype | DCPSHARD | Valid feed types are now TAP, DCP, and DCPSHARD. To use the distributed index feature, it must be set to DCPSHARD. |
cluster_config/server | http://localhost:8091 | The URL of the Couchbase Server |
cluster_config/bucket | default | The name of the Couchbase bucket where CBGT can store it's metadata |
cluster_config/username | user | The username for the Couchbase bucket (or blank) |
cluster_config/password | password | The password for the Couchbase bucket (or blank) |
cluster_config/data_dir | /var/lib/sync_dateway/data_dir | The directory where CBGT can persist the node's UDID and other metadata. |