@@ -416,7 +416,7 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>
416
416
417
417
let prometheus_service = Service {
418
418
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 ( ) ) ,
420
420
volumes : vec ! [ prom_volume, targets_volume, data_volume] ,
421
421
// to inspect prometheus from localhost
422
422
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<()>
448
448
449
449
let grafana_service = Service {
450
450
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 ( ) ) ,
452
452
ports : Ports :: Short ( vec ! [ format!( "{}:3000" , metrics_config. host) ] ) ,
453
453
networks : Networks :: Simple ( vec ! [ METRICS_NETWORK . to_owned( ) ] ) ,
454
454
depends_on : DependsOnOptions :: Simple ( vec ! [ "cb_prometheus" . to_owned( ) ] ) ,
0 commit comments