-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (54 loc) · 1.28 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (54 loc) · 1.28 KB
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
version: "3"
services:
influxdb:
image: "influxdb:1.8"
container_name: influxdb
restart: always
environment:
- INFLUXDB_LOGGING_LEVEL=warn
- INFLUXDB_HTTP_LOG_ENABLED=false
- INFLUXDB_HTTP_FLUX_ENABLED=true
- INFLUXDB_DATA_CACHE_MAX_MEMORY_SIZE=512m
expose:
- 8086
ports:
- 8086:8086
volumes:
- ./influxdb:/var/lib/influxdb
networks:
- database
grafana:
image: "grafana/grafana:latest"
container_name: grafana
restart: always
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_NAME=Main Org.
- GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer
- GF_AUTH_ANONYMOUS_HIDE_VERSION=true
ports:
- 3000:3000
networks:
- database
volumes:
- ./grafana/data:/var/lib/grafana
- ./grafana/conf:/usr/share/grafana/conf
# - ./grafana/provisioning/:/etc/grafana/provisioning/
depends_on:
- influxdb
chronograf:
image: "chronograf:latest"
entrypoint: "chronograf --influxdb-url=http://influxdb:8086"
depends_on:
- influxdb
environment:
- PORT=8888
- INFLUXDB_USERNAME=root
- INFLUXDB_PASSWORD=root
ports:
- 8888:8888
networks:
- database
networks:
database:
# external: true