mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
36 lines
878 B
YAML
36 lines
878 B
YAML
prometheus:
|
|
build: docker/blocks/prometheus
|
|
ports:
|
|
- "9090:9090"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
command: >
|
|
--enable-feature=remote-write-receiver
|
|
--config.file=/etc/prometheus/prometheus.yml
|
|
--storage.tsdb.path=/prometheus
|
|
--web.console.libraries=/usr/share/prometheus/console_libraries
|
|
--web.console.templates=/usr/share/prometheus/consoles
|
|
--web.config.file=/etc/prometheus/web.yml
|
|
|
|
node_exporter:
|
|
image: prom/node-exporter
|
|
ports:
|
|
- "9100:9100"
|
|
|
|
fake-prometheus-data:
|
|
image: grafana/fake-data-gen
|
|
ports:
|
|
- "9091:9091"
|
|
environment:
|
|
FD_DATASOURCE: prom
|
|
|
|
alertmanager:
|
|
image: quay.io/prometheus/alertmanager
|
|
ports:
|
|
- "9093:9093"
|
|
|
|
prometheus-random-data:
|
|
build: docker/blocks/prometheus_random_data
|
|
ports:
|
|
- "8081:8080"
|