towards healthchecks for all containers
This commit is contained in:
@@ -27,3 +27,8 @@ services:
|
||||
ports:
|
||||
- "3003:3000"
|
||||
- "222:22"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/v1/version"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user