Skip to content

Commit

Permalink
chore: configure non reserved ports for (#2002)
Browse files Browse the repository at this point in the history
  • Loading branch information
v3g42 authored Sep 9, 2023
1 parent 0f79efe commit 3123c0d
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions dozer-cli/src/live/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use dozer_types::{
},
log::info,
models::{
api_config::{ApiConfig, AppGrpcOptions},
api_config::{ApiConfig, AppGrpcOptions, GrpcApiOptions, RestApiOptions},
api_endpoint::ApiEndpoint,
app_config::AppConfig,
flags::Flags,
Expand Down Expand Up @@ -394,10 +394,22 @@ fn get_dozer_run_instance(

dozer.config.api = Some(ApiConfig {
app_grpc: Some(AppGrpcOptions {
port: 5678,
port: 62997,
host: "0.0.0.0".to_string(),
}),

grpc: Some(GrpcApiOptions {
port: 62998,
host: "0.0.0.0".to_string(),
cors: true,
web: true,
enabled: true,
}),
rest: Some(RestApiOptions {
port: 62996,
host: "0.0.0.0".to_string(),
cors: true,
enabled: true,
}),
..Default::default()
});

Expand Down

0 comments on commit 3123c0d

Please sign in to comment.