Fix container healthcheck (currently always unhealthy) #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Docker container healthcheck fails because
oven/bun:1.3ships node but not wget/curl. A workaround exists (mountinghealthcheck.mjs) but the container showsunhealthyconstantly.Fix options:
node /app/healthcheck.mjsas test commandThe site serves content fine despite the unhealthy status.
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.