diff --git a/backend/.env.example b/backend/.env.example index 9e439f3..57f383b 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -7,4 +7,4 @@ SQLITE_DB_PATH=data/pocket-id.db POSTGRES_CONNECTION_STRING=postgresql://postgres:postgres@localhost:5432/pocket-id UPLOAD_PATH=data/uploads PORT=8080 -HOST=localhost +HOST=0.0.0.0 diff --git a/backend/internal/common/env_config.go b/backend/internal/common/env_config.go index 6071cc3..dc8994b 100644 --- a/backend/internal/common/env_config.go +++ b/backend/internal/common/env_config.go @@ -35,7 +35,7 @@ var EnvConfig = &EnvConfigSchema{ UploadPath: "data/uploads", AppURL: "http://localhost", Port: "8080", - Host: "localhost", + Host: "0.0.0.0", MaxMindLicenseKey: "", GeoLiteDBPath: "data/GeoLite2-City.mmdb", }