-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
44 lines (40 loc) · 1.25 KB
/
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
---
services:
exporter:
build: .
container_name: exporter
environment:
TESLA_WALLBOX_IP: 10.10.0.109
DEBUG: "true"
KEEP_POWER_METER: "true"
influxdb:
image: influxdb:latest
container_name: influx
volumes:
- influx-data:/var/lib/influxdb2:rw
- influx-config:/etc/influxdb2:rw
ports:
- "8086:8086"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: supers3cret
DOCKER_INFLUXDB_INIT_ORG: whatever
DOCKER_INFLUXDB_INIT_BUCKET: dontcare
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: KoYlsQXuKGvoJrpfcbmQeGXyr6HdYYdRmcn3et84vHKAwiv9Lv3vNICwP7qyk6n-DgwEXxYKHkls_Jv2jeNn3w==
grafana:
image: grafana/grafana-oss
container_name: grafana
ports:
- "3000:3000"
volumes:
- ./grafana_provision:/etc/grafana/provisioning
- ./grafana_dashboards:/etc/dashboards
telegraf:
image: telegraf
container_name: telegraf
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
volumes:
influx-config:
influx-data: