HOST Variable

This commit is contained in:
2026-03-06 17:16:56 +02:00
parent ec8e8911ce
commit 3ffe0d4958
4 changed files with 18 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ Enterprise-style Scrum Poker application using Go, Gin, and SSE for real-time ro
## Environment Variables
- `HOST`: server host/interface to bind (default all interfaces, equivalent to `0.0.0.0`)
- `PORT`: server port (default `8002`)
- `DATA_PATH`: directory for room JSON files (default `./data`)
@@ -52,6 +53,13 @@ go run ./src
Open `http://localhost:8002`.
To bind explicitly:
```bash
HOST=localhost PORT=8002 go run ./src
HOST=0.0.0.0 PORT=8002 go run ./src
```
## Docker
Build: