Implement 'healthcheck' option

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-11-14 18:31:38 +00:00
commit 716a6baa59
9 changed files with 172 additions and 9 deletions

View file

@ -29,7 +29,7 @@ services:
constraints: [node=foo]
healthcheck:
command: cat /etc/passwd
test: cat /etc/passwd
interval: 10s
timeout: 1s
retries: 5