feat: add Docker container healthcheck #493

Merged
ZacharyZcR merged 1 commits from feat/docker-healthcheck into dev-1.10.1 2026-01-12 07:29:02 +00:00
ZacharyZcR commented 2026-01-12 05:42:48 +00:00 (Migrated from github.com)

Summary

  • Add HEALTHCHECK instruction to Dockerfile
  • Uses existing /health endpoint on port 30001
  • Enables container orchestration tools (Docker Compose, Kubernetes, etc.) to monitor container health

Configuration:

  • Interval: 30s
  • Timeout: 10s
  • Start period: 30s (allows app to start up)
  • Retries: 3

Usage:

# Check container health status
docker inspect --format='{{.State.Health.Status}}' termix

# View health check logs
docker inspect --format='{{json .State.Health}}' termix | jq

Related to #400

## Summary - Add HEALTHCHECK instruction to Dockerfile - Uses existing `/health` endpoint on port 30001 - Enables container orchestration tools (Docker Compose, Kubernetes, etc.) to monitor container health **Configuration**: - Interval: 30s - Timeout: 10s - Start period: 30s (allows app to start up) - Retries: 3 **Usage**: ```bash # Check container health status docker inspect --format='{{.State.Health.Status}}' termix # View health check logs docker inspect --format='{{json .State.Health}}' termix | jq ``` Related to #400
Sign in to join this conversation.