Skip to content

Commit 11f037d

Browse files
committed
pin versions
1 parent 901cd5e commit 11f037d

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

406406
let prometheus_service = Service {
407407
container_name: Some("cb_prometheus".to_owned()),
408-
image: Some("prom/prometheus:latest".to_owned()),
408+
image: Some("prom/prometheus:v3.0.0".to_owned()),
409409
volumes: vec![prom_volume, targets_volume, data_volume],
410410
// to inspect prometheus from localhost
411411
ports: Ports::Short(vec!["9090:9090".to_owned()]),
@@ -434,7 +434,7 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>
434434

435435
let grafana_service = Service {
436436
container_name: Some("cb_grafana".to_owned()),
437-
image: Some("grafana/grafana:latest".to_owned()),
437+
image: Some("grafana/grafana:11.3.1".to_owned()),
438438
ports: Ports::Short(vec!["3000:3000".to_owned()]),
439439
networks: Networks::Simple(vec![METRICS_NETWORK.to_owned()]),
440440
depends_on: DependsOnOptions::Simple(vec!["cb_prometheus".to_owned()]),

0 commit comments

Comments
 (0)