Created deployment
This commit is contained in:
@@ -64,7 +64,7 @@ services:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"wget -qO- http://localhost:${PORT:-3000}/health || exit 1",
|
||||
"node -e \"fetch('http://localhost:' + (process.env.PORT || 3000) + '/health').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))\"",
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
|
||||
Reference in New Issue
Block a user