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