Docker support
Added Dockerfile and changed address bind from 127.0.0.1 to 0.0.0.0
This commit is contained in:
parent
9e4940eb44
commit
2983a01bc6
2 changed files with 27 additions and 1 deletions
|
@ -376,7 +376,7 @@ async fn main() -> std::io::Result<()> {
|
|||
HttpAuthentication::basic(auth_validator),
|
||||
))
|
||||
})
|
||||
.bind(format!("127.0.0.1:{}", args.port.to_string()))?
|
||||
.bind(format!("0.0.0.0:{}", args.port.to_string()))?
|
||||
.workers(args.threads as usize)
|
||||
.run()
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue