Last active
May 17, 2016 08:08
-
-
Save hotakasaito/5eb39c2d7f0a2813b2a286ae2838d383 to your computer and use it in GitHub Desktop.
consul serviceの定義サンプル
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
{ | |
"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