Healtcheck done to the process name
This commit is contained in:
parent
631b7096c9
commit
e1a585c194
4 changed files with 4 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ services:
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
test: ["CMD", "pgrep", "dockerd"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ services:
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
test: ["CMD", "pgrep", "dockerd"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ services:
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
test: ["CMD", "pgrep", "dockerd"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ services:
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
test: ["CMD", "pgrep", "dockerd"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue