Fix container healthcheck (currently always unhealthy) #25

Closed
opened 2026-06-09 18:33:45 +00:00 by glow · 1 comment
Owner

The Docker container healthcheck fails because oven/bun:1.3 ships node but not wget/curl. A workaround exists (mounting healthcheck.mjs) but the container shows unhealthy constantly.

Fix options:

  1. Verify the mounted healthcheck.mjs works
  2. Use node /app/healthcheck.mjs as test command
  3. Or remove healthcheck entirely if it serves no purpose

The site serves content fine despite the unhealthy status.

The Docker container healthcheck fails because `oven/bun:1.3` ships node but not wget/curl. A workaround exists (mounting `healthcheck.mjs`) but the container shows `unhealthy` constantly. Fix options: 1. Verify the mounted healthcheck.mjs works 2. Use `node /app/healthcheck.mjs` as test command 3. Or remove healthcheck entirely if it serves no purpose The site serves content fine despite the unhealthy status.
Author
Owner

Verified: healthcheck passes cleanly. exits 0, container state is 'healthy'. Script at site/scripts/healthcheck.mjs does HTTP GET to 127.0.0.1:3000 and returns 0 on 200. No fix needed — closing as outdated.

Verified: healthcheck passes cleanly. exits 0, container state is 'healthy'. Script at site/scripts/healthcheck.mjs does HTTP GET to 127.0.0.1:3000 and returns 0 on 200. No fix needed — closing as outdated.
glow closed this issue 2026-06-09 19:08:04 +00:00
Sign in to join this conversation.
No labels
bug
feature
improvement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glow/first-home-diy#25
No description provided.