fix(health): add /healthz route and tighten docker healthcheck
This commit is contained in:
@@ -16,7 +16,7 @@ services:
|
||||
volumes:
|
||||
- /docker/linumiq-invoice/prod/data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz", "||", "exit", "0"]
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user