Skip to content

Instantly share code, notes, and snippets.

@hotakasaito
Last active May 17, 2016 08:08
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 hotakasaito/5eb39c2d7f0a2813b2a286ae2838d383 to your computer and use it in GitHub Desktop.
Save hotakasaito/5eb39c2d7f0a2813b2a286ae2838d383 to your computer and use it in GitHub Desktop.
consul serviceの定義サンプル
{
"service": {
"name": "VoIP",
"port": 9999,
"address": "xx.xx.xx.xx",
"tags": ["ap-northeast-1"],
"checks": [
{
"http": "http://localhost:9999/xxx",
"interval": "10s"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment