Skip to content

Instantly share code, notes, and snippets.

@zembutsu
Created March 29, 2014 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zembutsu/9851025 to your computer and use it in GitHub Desktop.
Save zembutsu/9851025 to your computer and use it in GitHub Desktop.
Serf sample configuration file.
{
"node_name": "miku3",
"rpc_addr": "192.168.39.11:7373",
"tags": {
"role": "develop",
"network": "local"
},
"interface": "eth1",
"discover": "mikusan",
"log_level": "debug",
"snapshot_path": "/opt/serf/snapshot.txt",
"leave_on_terminate": true,
"reconnect_interval": "3s",
"reconnect_timeout": "1m",
"tombstone_timeout": "1m",
"event_handlers": [
"./event.sh"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment