feat: should listen on public endpoint

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-08-18 01:46:46 +02:00
parent 95acdf4f4a
commit bfe88dc008
2 changed files with 9 additions and 5 deletions

View File

@@ -31,10 +31,10 @@ impl NoData {
tracing::info!("starting no data component");
let grpc_server = grpc::no_data_component_server::NoDataComponentServer::new(NoDataGrpc {});
tracing::info!("component grpc listening on: 127.0.0.1:7900");
tracing::info!("component grpc listening on: 0.0.0.0:7900");
tonic::transport::Server::builder()
.add_service(grpc_server)
.serve("127.0.0.1:7900".parse()?)
.serve("0.0.0.0:7900".parse()?)
.await
.context("nodata component grpc server failed")?;