Implement 'healthcheck' option
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
466ebb6cc1
commit
716a6baa59
9 changed files with 172 additions and 9 deletions
2
tests/fixtures/v3-full/docker-compose.yml
vendored
2
tests/fixtures/v3-full/docker-compose.yml
vendored
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints: [node=foo]
|
||||
|
||||
healthcheck:
|
||||
command: cat /etc/passwd
|
||||
test: cat /etc/passwd
|
||||
interval: 10s
|
||||
timeout: 1s
|
||||
retries: 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue