Created
July 12, 2013 19:24
-
-
Save PaulCapestany/5987049 to your computer and use it in GitHub Desktop.
sync_gateway config example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface": ":4984", | |
"adminInterface": ":4985", | |
"log": ["HTTP+", "CRUD+", "Auth+", "Changes+", "Access", "Attach"], | |
"databases": { | |
"myapp": { | |
"server": "http://localhost:8091", | |
"sync": `function(doc) {channel(doc.channels);}` | |
}, | |
"grocerydemo": { | |
"server": "http://localhost:8091", | |
"bucket": "grocerydemo", | |
"users": { | |
"GUEST": { | |
"disabled": false, | |
"admin_channels": ["*"] | |
} | |
}, | |
"sync": `function(doc) {channel(doc.channels);}` | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment