Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/cli/src/docker_init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>

let prometheus_service = Service {
container_name: Some("cb_prometheus".to_owned()),
image: Some("prom/prometheus:latest".to_owned()),
image: Some("prom/prometheus:v3.0.0".to_owned()),
volumes: vec![prom_volume, targets_volume, data_volume],
// to inspect prometheus from localhost
ports: Ports::Short(vec![format!("{}:9090", metrics_config.host)]),
Expand Down Expand Up @@ -445,7 +445,7 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>

let grafana_service = Service {
container_name: Some("cb_grafana".to_owned()),
image: Some("grafana/grafana:latest".to_owned()),
image: Some("grafana/grafana:11.3.1".to_owned()),
ports: Ports::Short(vec![format!("{}:3000", metrics_config.host)]),
networks: Networks::Simple(vec![METRICS_NETWORK.to_owned()]),
depends_on: DependsOnOptions::Simple(vec!["cb_prometheus".to_owned()]),
Expand Down