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: