Add healthchecks
This commit is contained in:
@@ -13,6 +13,12 @@ services:
|
|||||||
- ${PORT}:4050
|
- ${PORT}:4050
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "/server", "-healthcheck"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 5s
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
Reference in New Issue
Block a user