-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yaml
50 lines (45 loc) · 1.02 KB
/
docker-compose.yaml
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
# module téléinformation client
# rene-d 2020
version: "3"
services:
influxdb:
image: influxdb:latest
container_name: influxdb
ports:
- "8083:8083"
- "8086:8086"
- "8090:8090"
volumes:
# Bind mount:
# mkdir -p ./influxdb-data
- ./influxdb-data:/var/lib/influxdb
environment:
- INFLUXDB_DB=teleinfo
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
links:
- influxdb
depends_on:
- influxdb
volumes:
# Bind mount:
# mkdir -p ./grafana-data; sudo chown 472:472 ./grafana-data
- ./grafana-data:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
wifinfo_sse:
build: wifinfo_sse/
container_name: wifinfo_sse
environment:
- WIFINFO=${WIFINFO}
- FREQUENCY=60
links:
- influxdb
depends_on:
- influxdb