Give up
This commit is contained in:
@@ -16,35 +16,35 @@ services:
|
|||||||
# extra_hosts:
|
# extra_hosts:
|
||||||
# - "host.docker.internal:host-gateway"
|
# - "host.docker.internal:host-gateway"
|
||||||
|
|
||||||
vmagent:
|
# vmagent:
|
||||||
image: victoriametrics/vmagent:latest
|
# image: victoriametrics/vmagent:latest
|
||||||
container_name: vmagent
|
# container_name: vmagent
|
||||||
volumes:
|
# volumes:
|
||||||
- /mnt/data/linux/config/monitoring/prometheus/config:/config
|
# - /mnt/data/linux/config/monitoring/prometheus/config:/config
|
||||||
- /mnt/data/linux/config/monitoring/vmagent/data:/vmagentdata
|
# - /mnt/data/linux/config/monitoring/vmagent/data:/vmagentdata
|
||||||
command:
|
# command:
|
||||||
- '--promscrape.config=/config/prometheus.yml'
|
# - '--promscrape.config=/config/prometheus.yml'
|
||||||
- '--remoteWrite.url=http://127.0.0.1:8428/api/v1/write'
|
# - '--remoteWrite.url=http://127.0.0.1:8428/api/v1/write'
|
||||||
- '--httpListenAddr=:43261'
|
# - '--httpListenAddr=:43261'
|
||||||
- '--remoteWrite.maxDiskUsagePerURL=2GB'
|
# - '--remoteWrite.maxDiskUsagePerURL=2GB'
|
||||||
- '--promscrape.discovery.concurrency=10'
|
# - '--promscrape.discovery.concurrency=10'
|
||||||
- '--promscrape.suppressScrapeErrors=false'
|
# - '--promscrape.suppressScrapeErrors=false'
|
||||||
extra_hosts:
|
# network_mode: "host"
|
||||||
- "host.docker.internal:host-gateway"
|
|
||||||
|
|
||||||
nodeexporter:
|
# nodeexporter:
|
||||||
image: prom/node-exporter:v1.8.2
|
# image: prom/node-exporter:v1.8.2
|
||||||
container_name: nodeexporter
|
# container_name: nodeexporter
|
||||||
volumes:
|
# volumes:
|
||||||
- /proc:/host/proc:ro
|
# - /proc:/host/proc:ro
|
||||||
- /sys:/host/sys:ro
|
# - /sys:/host/sys:ro
|
||||||
- /:/rootfs:ro
|
# - /:/rootfs:ro
|
||||||
command:
|
# command:
|
||||||
- "--path.procfs=/host/proc"
|
# - "--path.procfs=/host/proc"
|
||||||
- "--path.rootfs=/rootfs"
|
# - "--path.rootfs=/rootfs"
|
||||||
- "--path.sysfs=/host/sys"
|
# - "--path.sysfs=/host/sys"
|
||||||
- "--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)"
|
# - "--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)"
|
||||||
- "--web.listen-address=:56546"
|
# - "--web.listen-address=:56546"
|
||||||
|
# network_mode: "host"
|
||||||
|
|
||||||
# cadvisor:
|
# cadvisor:
|
||||||
# image: gcr.io/google-containers/cadvisor:v0.34.0
|
# image: gcr.io/google-containers/cadvisor:v0.34.0
|
||||||
@@ -94,13 +94,15 @@ services:
|
|||||||
# network_mode: "host"
|
# network_mode: "host"
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./pinger/logs:/logs
|
# - ./pinger/logs:/logs
|
||||||
victoriametrics:
|
|
||||||
image: victoriametrics/victoria-metrics
|
# victoriametrics:
|
||||||
container_name: victoriametrics
|
# image: victoriametrics/victoria-metrics
|
||||||
volumes:
|
# container_name: victoriametrics
|
||||||
- /mnt/data/linux/config/monitoring/victoriametrics/data:/victoria-metrics-data
|
# volumes:
|
||||||
command:
|
# - /mnt/data/linux/config/monitoring/victoriametrics/data:/victoria-metrics-data
|
||||||
- "--retentionPeriod=100y"
|
# command:
|
||||||
|
# - "--retentionPeriod=100y"
|
||||||
|
# network_mode: "host"
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana
|
image: grafana/grafana
|
||||||
@@ -112,6 +114,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/mnt/data/persistent/monitoring/grafana/data:/var/lib/grafana'
|
- '/mnt/data/persistent/monitoring/grafana/data:/var/lib/grafana'
|
||||||
- '/mnt/data/persistent/monitoring/grafana/config:/etc/grafana'
|
- '/mnt/data/persistent/monitoring/grafana/config:/etc/grafana'
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
|
Reference in New Issue
Block a user