安装mongo
docker pull docker.mirrors.sjtug.sjtu.edu.cn/library/mongo mkdir -p /root/mongo/data docker run -itd --name mongo -v /root/mongo/data:/data/db -p 27017:27017 mongo
安装普罗米修斯
# 下载普罗米 docker pull docker.mirrors.sjtug.sjtu.edu.cn/prom/prometheus # 创建持久化的路径: mkdir -p /root/prometheus/data mkdir -p /root/prometheus/config cat > /root/prometheus/config/prometheus.yml <` to any timeseries scraped from this config. - job_name: "prometheus" # metrics_path defaults to '/metrics' # scheme defaults to 'http'. static_configs: - targets: ["localhost:9090"] EOF # 加密的可选: cat > /root/prometheus/config/web.yml <
还没有评论,来说两句吧...