-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
45 lines (42 loc) · 1.21 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.7"
services:
graphite:
container_name: grafterburner-graphite
image: "graphiteapp/graphite-statsd:latest"
restart: always
# ports:
# - 8026:80
volumes:
- "./graphite/conf:/opt/graphite/conf"
- "./graphite/storage:/opt/graphite/storage"
- "./graphite/graphite-api.yaml:/etc/graphite-api.yaml"
environment:
- "CARBON_AGGREGATOR_DISABLED=1"
- "REDIS_DISABLED=1"
- "STATSD_DISABLED=1"
grafana:
container_name: grafterburner-grafana
image: "grafana/grafana:latest"
restart: always
user: "1000"
ports:
- 8025:3000
volumes:
- "./grafana/storage:/var/lib/grafana"
- "./grafana/datasources:/etc/grafana/provisioning/datasources"
- "./grafana/dashboards:/etc/grafana/provisioning/dashboards"
environment:
- "GF_AUTH_DISABLE_LOGIN_FORM=true"
- "GF_AUTH_ANONYMOUS_ENABLED=true"
- "GF_AUTH_ANONYMOUS_ORG_ROLE=Admin"
- "GF_DASHBOARDS_MIN_REFRESH_INTERVAL=1s"
depends_on:
- graphite
collectd:
container_name: grafterburner-collectd
build: collectd
restart: always
volumes:
- "./collectd/collectd.conf:/etc/collectd/collectd.conf"
depends_on:
- graphite