docker run --name prometheus -d -p 9090:9090 -v /etc/localtime:/etc/localtime:ro -v /root/dockerapp/PrometheusV/data:/prometheus/data -v /root/dockerapp/PrometheusV/config:/prometheus/config -v /root/dockerapp/PrometheusV/rules:/prometheus/rules prom/prometheus:v2.41.0 --config.file=/prometheus/config/prometheus.yml --web.enable-lifecycle
docker run -d -p 3000:3000 --name=grafana -v /etc/localtime:/etc/localtime:ro -v /root/dockerapp/grafana/data:/var/lib/grafana -v /root/dockerapp/grafana/plugins/:/var/lib/grafana/plugins -v /root/dockerapp/grafana/config/grafana.ini:/etc/grafana/grafana.ini -e "GF_SECURITY_ADMIN_PASSWORD=admin" -e "GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource,grafana-piechart-panel" grafana/grafana:9.3.2