mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-13 03:05:33 +00:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
|
services:
|
||
|
grafana:
|
||
|
image: grafana/grafana
|
||
|
ports:
|
||
|
- 3000:3000
|
||
|
environment:
|
||
|
GF_AUTH_DISABLE_LOGIN_FORM: true
|
||
|
GF_AUTH_ANONYMOUS_ENABLED: true
|
||
|
GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
|
||
|
volumes:
|
||
|
- ./grafana/provisioning:/etc/grafana/provisioning
|
||
|
- ./grafana/dashboards:/var/lib/grafana/dashboards
|
||
|
- grafana:/var/lib/grafana
|
||
|
|
||
|
prometheus:
|
||
|
image: prom/prometheus
|
||
|
user: root
|
||
|
command:
|
||
|
- "--config.file=/config.yml"
|
||
|
- "--storage.tsdb.retention.time=168h"
|
||
|
- "--storage.tsdb.path=/data"
|
||
|
- "--web.enable-lifecycle"
|
||
|
ports:
|
||
|
- 9090:9090
|
||
|
volumes:
|
||
|
- ./configs/prometheus.yml:/config.yml
|
||
|
- prometheus:/data
|
||
|
|
||
|
loki:
|
||
|
image: grafana/loki:2.7.4
|
||
|
user: root
|
||
|
expose:
|
||
|
- 3100
|
||
|
volumes:
|
||
|
- ./configs/loki.yml:/config.yml
|
||
|
- loki:/data
|
||
|
command:
|
||
|
- "-config.file=/config.yml"
|
||
|
|
||
|
promtail:
|
||
|
image: grafana/promtail:2.7.4
|
||
|
volumes:
|
||
|
- ./configs/promtail.yml:/config.yml
|
||
|
- promtail:/data
|
||
|
- /var/lib/docker/containers:/var/lib/docker/containers
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
command:
|
||
|
- "-config.file=/config.yml"
|
||
|
|
||
|
volumes:
|
||
|
grafana:
|
||
|
prometheus:
|
||
|
loki:
|
||
|
promtail:
|