2017-05-30 20:52:10 +03:00
|
|
|
{
|
|
|
|
"consul": "0.0.0.0:8500",
|
2017-06-20 02:18:34 +03:00
|
|
|
"jobs": [
|
2017-05-30 20:52:10 +03:00
|
|
|
{
|
|
|
|
"name": "cp-frontend",
|
|
|
|
"port": 3069,
|
2017-06-20 02:18:34 +03:00
|
|
|
"exec": "../../node_modules/.bin/serve --single build --port 3069",
|
|
|
|
"health": {
|
2017-06-20 03:11:15 +03:00
|
|
|
"exec": "/usr/bin/curl -o /dev/null --fail -s http://0.0.0.0:3069/",
|
2017-06-20 02:18:34 +03:00
|
|
|
"interval": 3,
|
|
|
|
"ttl": 10
|
2017-05-30 20:52:10 +03:00
|
|
|
}
|
2017-06-20 02:18:34 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|