-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (45 loc) · 1.17 KB
/
docker-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
45
46
47
48
49
50
51
52
53
version: '3.4'
services:
mqtt-explorer:
image: smeagolworms4/mqtt-explorer
container_name: mqtt-explorer
ports:
- 4000:4000
volumes:
- ./mqtt-explorer/config:/mqtt-explorer/config
networks:
- mqtt
mosquitto:
image: eclipse-mosquitto:2
container_name: mosquitto
ports:
- 1883:1883
- 8883:8883
- 9001:9001
volumes:
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/data:/mosquitto/data
- ./mosquitto/log:/mosquitto/log
networks:
- mqtt
tuya_mqtt.net:
image: volkerhaensel/tuya_mqtt.net
container_name: tuya_mqtt.net
volumes:
- tuya.net_config:/app/DataDir #DataDir is case sensitive
ports:
- 6667:6667/udp #needs to be published to receive encryped TUYA broadcasts
- 6666:6666/udp #needs to be published to receive unencryped TUYA broadcasts
- 8889:80/tcp #connect to 8889 to get to the web UI
restart: on-failure
healthcheck:
test: curl --fail http://localhost:80 || exit 1
interval: 60s
retries: 5
networks:
- mqtt
networks:
mqtt:
name: mqtt
volumes:
tuya.net_config: