7c91182111f8bfcd44d00052ac4258273f0d5ac5
Verified live via WSL Docker (docker compose up --wait): every other F0 service came up healthy, but web stayed unhealthy. Root cause was two compounding issues, both invisible to static review: 1. Docker auto-sets HOSTNAME to the container ID; Next's standalone server.js honors that env var and binds only to it instead of all interfaces. Fixed by explicitly setting ENV HOSTNAME=0.0.0.0 in the Dockerfile, after Docker's automatic assignment. 2. Even bound to 0.0.0.0 (IPv4), the healthcheck's `wget http://localhost` resolved localhost to ::1 (IPv6) first inside the container, where nothing was listening. Fixed by pointing the healthcheck at 127.0.0.1 explicitly instead of localhost. Full stack (db, redis, migrate, auth, storage, protocols, web) now reaches healthy end-to-end under docker compose up --wait.
Description
Your own mail server, with a webmail that is a pleasure to use.
3.5 MiB
0 Stars
1 Watchers
0 Forks
Releases
1
LambdaMail 1.0.0
Latest
Languages
Go
60.5%
TypeScript
37.2%
JavaScript
0.9%
CSS
0.4%
Dockerfile
0.3%
Other
0.7%