13 lines
411 B
YAML
13 lines
411 B
YAML
services:
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
volumes: [ "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro" ]
|
|
ports: [ "9090:9090" ]
|
|
node-exporter:
|
|
image: prom/node-exporter:latest
|
|
ports: [ "9100:9100" ]
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
ports: [ "3000:3000" ]
|
|
volumes: [ "./grafana/datasource.yml:/etc/grafana/provisioning/datasources/ds.yml:ro" ]
|