Add ping endpoint for health check
This commit is contained in:
1 parent
7e3ac4d1d4
commit
f6133116a2
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ services:
|
||||
networks:
|
||||
- sloth-net
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/providers"]
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/ping"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in new issue
Block a user