diff --git a/CHANGELOG.md b/CHANGELOG.md index 13f5f7b..37e9fe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Allow `HOST` variable to specify specific host variable to bind to. [PR #157](https://github.com/riverqueue/riverui/pull/157). +- Allow `RIVER_HOST` variable to specify specific host variable to bind to. [PR #157](https://github.com/riverqueue/riverui/pull/157). ## [0.5.3] - 2024-09-05 diff --git a/cmd/riverui/main.go b/cmd/riverui/main.go index 4d22a31..9d90e03 100644 --- a/cmd/riverui/main.go +++ b/cmd/riverui/main.go @@ -50,7 +50,7 @@ func initAndServe(ctx context.Context) int { var ( corsOrigins = strings.Split(os.Getenv("CORS_ORIGINS"), ",") dbURL = mustEnv("DATABASE_URL") - host = os.Getenv("HOST") // may be left empty to bind to all local interfaces + host = os.Getenv("RIVER_HOST") // may be left empty to bind to all local interfaces otelEnabled = os.Getenv("OTEL_ENABLED") == "true" port = cmp.Or(os.Getenv("PORT"), "8080") )