v7.0.2
Removed 1
- Remove the HEALTHCHECK from the Docker image because the probe used localhost, which resolves to ::1 on Alpine while the image listens on IPv4 only by default, causing the container to always be reported as unhealthy. inferred, marked in the notes below
1 change to check, marked in the notes below
From Verdaccio
Patch Changes
-
c017767: Remove the
HEALTHCHECKfrom the Docker image. removed · inferredThe probe used
localhost, which resolves to::1on Alpine, while the image listens on IPv4 only by default. The container was always reported asunhealthyeven though it served requests normally. The image no longer declares a health check, as in6.x.If you need one, add it yourself probing
127.0.0.1, for example indocker-compose.yaml:services: verdaccio: image: verdaccio/verdaccio healthcheck: test: ['CMD-SHELL', 'wget --quiet --tries=1 --spider http://127.0.0.1:4873/-/ping || exit 1'] interval: 30s timeout: 5s start_period: 10s retries: 3See Health check in the Docker documentation for the
docker runand HTTPS variants.