Skip to content

Commit a7a4d7d

Browse files
authored
CBST-17: pin versions (#182)
1 parent 22fc743 commit a7a4d7d

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)]),
@@ -448,7 +448,7 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>
448448

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

0 commit comments

Comments
 (0)