Skip to content

fix(docker): use 127.0.0.1 in healthcheck#37

Merged
xe-nvdk merged 1 commit into
mainfrom
fix/docker-healthcheck
Feb 11, 2026
Merged

fix(docker): use 127.0.0.1 in healthcheck#37
xe-nvdk merged 1 commit into
mainfrom
fix/docker-healthcheck

Conversation

@xe-nvdk

@xe-nvdk xe-nvdk commented Feb 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Alpine resolves localhost to ::1 (IPv6) but Fiber binds 0.0.0.0 (IPv4 only), causing the healthcheck to report unhealthy
  • Changed wget target from localhost to 127.0.0.1

Test plan

  • Verified docker exec memtrace wget -qO- http://127.0.0.1:9100/health returns OK on production server

Alpine resolves localhost to ::1 (IPv6) but Fiber binds to 0.0.0.0
(IPv4 only), causing the healthcheck to fail with connection refused.
@xe-nvdk xe-nvdk merged commit 9c9b5d2 into main Feb 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant