Spawning a full Node process for health checks is slow on Alpine and can exceed the 3s timeout, causing the container to be marked unhealthy. Use wget (built into Alpine) instead, and increase start_period to 15s.
Spawning a full Node process for health checks is slow on Alpine and can exceed the 3s timeout, causing the container to be marked unhealthy. Use wget (built into Alpine) instead, and increase start_period to 15s.