|
@@ -0,0 +1,27 @@
|
|
|
|
+- Alist shell
|
|
|
|
+
|
|
|
|
+ - docker run -d --restart=always -v /root/alist:/opt/alist/data -p 6000:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist:latest
|
|
|
|
+- prpmetheus
|
|
|
|
+ - 监控cvm的主机性能
|
|
|
|
+ ```shell
|
|
|
|
+ docker run \
|
|
|
|
+ -d \
|
|
|
|
+ --restart=always \
|
|
|
|
+ -p 8000:9090 \
|
|
|
|
+ -v /root/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
|
|
|
|
+ -v prometheus-data:/prometheus \
|
|
|
|
+ prom/prometheus
|
|
|
|
+
|
|
|
|
+ docker run --name=vk-grafana -d \
|
|
|
|
+ --restart=always \
|
|
|
|
+ -p 8001:3000 \
|
|
|
|
+ grafana/grafana:6.7.4
|
|
|
|
+
|
|
|
|
+ docker run -itd --name=node-exporter \
|
|
|
|
+ --restart=always \
|
|
|
|
+ -p 8002:9100 \
|
|
|
|
+ -v "/root/node_exporter/proc:/host/proc:ro" \
|
|
|
|
+ -v "/root/node_exporter/sys:/host/sys:ro" \
|
|
|
|
+ -v "/root/node_exporter:/rootfs:ro" \
|
|
|
|
+ prom/node-exporter
|
|
|
|
+ ```
|