Skip to content

Instantly share code, notes, and snippets.

@adamcfraser
Created August 30, 2016 19:51
Show Gist options
  • Save adamcfraser/bce1842735e932d5633e88a4eed9e12a to your computer and use it in GitHub Desktop.
Save adamcfraser/bce1842735e932d5633e88a4eed9e12a to your computer and use it in GitHub Desktop.
SG config with shadowing, webhook
{
"interface":":4984",
"adminInterface":":4985",
"databases": {
"sgbucket": {
"server": "http://localhost:8091",
"bucket": "sgbucket",
"shadow": {
"server": "http://localhost:8091",
"bucket": "sourcebucket"
},
"event_handlers": {
"max_processes" : 500,
"wait_for_process" : "100",
"document_changed": [
{
"handler": "webhook",
"url": "http://localhost:8081/my_webhook_target",
"timeout": 0
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment