typebot.io/scripts
Vitor Silva ce637fb608
🧑‍💻 Use custom HOSTNAME and PORT in docker entrypoints (#2148)
This PR addresses [issue
#2133](https://github.com/baptisteArno/typebot.io/issues/2133) by
allowing the Typebot builder and viewer to bind to IPv6 addresses when
`HOSTNAME=::` is provided via environment variable.

 Changes made:
- Updated `scripts/builder-entrypoint.sh` and
`scripts/viewer-entrypoint.sh`
- Respect `HOSTNAME` and `PORT` environment variables if set
- Default to `0.0.0.0` and `3000` if not defined

🧪 Tested:
- Successfully deployed on Amazon EKS IPv6-only cluster
- Server binds correctly on `[::]:3000`

🧑‍💻 Contributors:
- [@silvadavitor](https://github.com/silvadavitor)
- [@RanielHaendchen](https://github.com/RanielHaendchen) (assisted with
cluster testing and validation)


![test](https://github.com/user-attachments/assets/640e2eca-e201-4254-a747-d7259f2d25cc)
2025-04-30 10:25:17 +02:00
..
builder-entrypoint.sh 🧑‍💻 Use custom HOSTNAME and PORT in docker entrypoints (#2148) 2025-04-30 10:25:17 +02:00
viewer-entrypoint.sh 🧑‍💻 Use custom HOSTNAME and PORT in docker entrypoints (#2148) 2025-04-30 10:25:17 +02:00