-
Notifications
You must be signed in to change notification settings - Fork 65
/
docker-compose-noplugins.yml
59 lines (55 loc) · 1.34 KB
/
docker-compose-noplugins.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
grafana:
build: grafana
ports:
- 3001:3000
links:
- influxdb:influxdb
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
GF_SECURITY_SECRET_KEY: grafana
GF_USERS_ALLOW_SIGN_UP: "true"
GF_USERS_ALLOW_ORG_CREATE: "true"
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_NAME: grafana
GF_DASHBOARDS_JSON_ENABLED: "true"
GF_DASHBOARDS_JSON_PATH: /opt/grafana
GRAFANA_PLUGINS_ENABLED: "false"
volumes_from:
- grafana-data
grafana-data:
image: busybox
tty: true
volumes:
- /var/lib/grafana
- /var/log/grafana
- /var/lib/grafana/plugins
influxdb:
build: influxdb
ports:
- 8083:8083
- 8086:8086
environment:
INFLUX_DATABASE: "telegraf"
INLFUX_ADMIN_USER: "grafana"
INFLUX_ADMIN_PASS: "grafana"
volumes_from:
- influxdb-data
influxdb-data:
image: busybox
tty: true
volumes:
- /var/lib/influxdb
telegraf:
build: telegraf
links:
- influxdb:influxdb
environment:
HOST_NAME: "telegraf"
INFLUXDB_HOST: "influxdb"
INFLUXDB_PORT: "8086"
DATABASE: "telegraf"
tty: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
privileged: true