forked from MyElectricalData/myelectricaldata_import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
executable file
·61 lines (56 loc) · 1.41 KB
/
docker-compose.dev.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
60
61
version: "3.9"
services:
enedisgateway2mqtt:
build: .
environment:
TZ: Europe/Paris
links:
- influxdb
- mosquitto
volumes:
- ./data:/data
- ./app:/app
command: tail -f /dev/null
influxdb:
image: influxdb:2.0.7
ports:
- '8086:8086'
volumes:
- ./data/influxdb:/var/lib/influxdb2
healthcheck:
test: ["CMD", "curl", "-f", "http://influxdb:8086"]
interval: 25s
timeout: 3s
start_period: 30s
environment:
TZ: Europe/Paris
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: enedisgateway2mqtt
DOCKER_INFLUXDB_INIT_PASSWORD: enedisgateway2mqtt
DOCKER_INFLUXDB_INIT_ORG: enedisgateway2mqtt
DOCKER_INFLUXDB_INIT_BUCKET: enedisgateway2mqtt
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: enedisgateway2mqtt
mosquitto:
image: eclipse-mosquitto:2.0.12
environment:
TZ: Europe/Paris
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./data/mosquitto:/data
- ./mosquitto:/mosquitto/config/
ports:
- 1883:1883
- 9001:9001
mqtt_explorer:
image: smeagolworms4/mqtt-explorer
environment:
TZ: Europe/Paris
links:
- mosquitto
volumes:
- ./data/:/mqtt-explorer/config
ports:
- 4000:4000
volumes:
mydata: