Skip to content

Commit c097043

Browse files
committed
pin versions
1 parent 16eadc4 commit c097043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cli/src/docker_init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>
416416

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

446446
let grafana_service = Service {
447447
container_name: Some("cb_grafana".to_owned()),
448-
image: Some("grafana/grafana:latest".to_owned()),
448+
image: Some("grafana/grafana:11.3.1".to_owned()),
449449
ports: Ports::Short(vec![format!("{}:3000", metrics_config.host)]),
450450
networks: Networks::Simple(vec![METRICS_NETWORK.to_owned()]),
451451
depends_on: DependsOnOptions::Simple(vec!["cb_prometheus".to_owned()]),

0 commit comments

Comments
 (0)