-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose-dev-influxv1.yml
46 lines (46 loc) · 1.11 KB
/
docker-compose-dev-influxv1.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
version: '2'
services:
monitor:
build: .
environment:
- APITOKEN
volumes:
- ./smartthings-influx-compose-influxv1.yaml:/.smartthings-influx.yaml
command: monitor
depends_on:
- influxdb
influxdb:
image: influxdb:1.8
ports:
- '8086:8086'
volumes:
- ./data/influxdb:/var/lib/influxdb
environment:
- INFLUXDB_DB=SmartThings
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=password
# chronograf:
# image: chronograf:latest
# ports:
# - '127.0.0.1:8888:8888'
# volumes:
# - ./data/influxdb:/var/lib/chronograf
# depends_on:
# - influxdb
# environment:
# - INFLUXDB_URL=http://influxdb:8086
# - INFLUXDB_USERNAME=admin
# - INFLUXDB_PASSWORD=password
grafana:
user: "${UID}:${GID}"
image: grafana/grafana:latest
ports:
- '3000:3000'
volumes:
- ./data/grafana:/var/lib/grafana
- ./grafana-provisioning/:/etc/grafana/provisioning
depends_on:
- influxdb
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=password