Healthcheck
This commit is contained in:
parent
320722908f
commit
7d9f8730e0
@ -14,4 +14,6 @@ services:
|
|||||||
command: "npm start"
|
command: "npm start"
|
||||||
restart: always
|
restart: always
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
test: (ps ax | grep -q "[n]ode dist/index.js" && echo "Ok") || exit 1
|
||||||
|
interval: 60s
|
||||||
|
start_period: 10s
|
||||||
|
Loading…
Reference in New Issue
Block a user