You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by CraigBurden June 8, 2026
I would be really great to implement some ways of implementing healthchecks for docker to improve monitoring and error correction.
I had an issue recently where the background worker stalled for some reason and my instance accumulated ~10k pending tasks, but the worker container was still running. Restarting the container fixed the issue.
Perhaps adding some basic status checking CLI tools which can then be used as healthchecks would be useful?
Activity
matmair commentedon Jun 8, 2026
FYI: we already ship health check endpoints on the server
br413 commentedon Jul 18, 2026
Hi @matmair — following up on #12123.
This PR adds Docker Compose healthchecks for the production stack:
pg_isreadyredis-cli ping/api/system/health/endpoint/tmp/inventree_worker_heartbeatfreshness (written every minute byInvenTree.tasks.heartbeat)Also updates
depends_onto wait for healthy upstream services before starting server, worker, and proxy.Happy to adjust thresholds or the worker check approach if you prefer something else.
br413 commentedon Jul 18, 2026
Opened PR #12419 for this.
SchrodingersGat commentedon Sep 1, 2026
Closed in #12124