From 324aebe950739f86a910a156dfb032ce491c1108 Mon Sep 17 00:00:00 2001 From: Fabio Rosa Date: Mon, 10 Aug 2026 17:06:33 -0300 Subject: [PATCH] fix(deploy): bind API to IPv4 --- Dockerfile | 2 +- docs/DEPLOYMENT.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a61529e..8aaf496 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,5 @@ COPY . . RUN npm run build && npm --workspace @afterhook/console run build ENV NODE_ENV=production -ENV HOST=:: +ENV HOST=0.0.0.0 CMD ["node", "scripts/dist/start-service.js"] diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md index 399c19f..4f2e8cf 100644 --- a/docs/DEPLOYMENT.md +++ b/docs/DEPLOYMENT.md @@ -19,7 +19,8 @@ scale claim. The root `render.yaml` defines the Render resources and non-secret variables. The root `Dockerfile` builds the release artifact. Set `AFTERHOOK_SERVICE_ROLE=all` to start the three processes. The image binds the -API to `::` and gives the destination a separate loopback host and port. +API to `0.0.0.0` for Render's public proxy and gives the destination a separate +loopback host and port. Configuration boundaries: