Skip to content

Instantly share code, notes, and snippets.

@atkit
Created August 27, 2014 08:47
Show Gist options
  • Save atkit/236e8da97fc77cb526c9 to your computer and use it in GitHub Desktop.
Save atkit/236e8da97fc77cb526c9 to your computer and use it in GitHub Desktop.
Couchbase Sync Gateway Config With Guest Access Enabled
{
"log": ["CRUD", "CRUD+", "HTTP", "HTTP+", "Access", "Cache", "Changes", "Changes+"],
"interface":":4984",
"adminInterface":":14985",
"facebook":{
"register":true
},
"databases":{
"gw":{
"users": {
"GUEST": {"disabled": false, "admin_channels": ["*"] }
},
"server":"http://localhost:8091",
"bucket":"default",
"sync": ` function(doc, oldDoc) { channel("all_docs");} `
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment