Skip to content

change default host to 0.0.0.0#6

Closed
witsand wants to merge 1 commit intoelsirion:masterfrom
witsand:2026-01-21-changehost
Closed

change default host to 0.0.0.0#6
witsand wants to merge 1 commit intoelsirion:masterfrom
witsand:2026-01-21-changehost

Conversation

@witsand
Copy link
Contributor

@witsand witsand commented Jan 21, 2026

change the default host to 0.0.0.0 to make it easier to forward port without setting env variable for host running docker.

port: u16,

#[arg(short = 'H', long, env = "BLITZID_HOST", default_value = "127.0.0.1")]
#[arg(short = 'H', long, env = "BLITZID_HOST", default_value = "0.0.0.0")]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally it's not recommended to bind to 0.0.0.0 by default since users may not be aware they are exposing the service to the world. With docker that's different, you still have to be explicit about it. I changed the way we build the docker file to set the default bind address to 0.0.0.0 in the container 9230335

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I also noticed the container is way too large, investigating, we probably ship the rust toolchain by accident or something similar.

@elsirion elsirion closed this Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants