-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (72 loc) · 1.47 KB
/
docker-compose.yml
File metadata and controls
79 lines (72 loc) · 1.47 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: "3.7"
services:
portainer:
image: portainer/portainer:latest
container_name: portainer
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9000:9000
networks:
- backend
restart: always
environment:
- TZ=$SET_TZ
mqtt:
container_name: mqtt
image: eclipse-mosquitto:latest
volumes:
- ./mqtt:/mosquitto/
ports:
- 1883:1883
- 9001:9001
network_mode: host
restart: always
environment:
TZ: $SET_TZ
hass:
container_name: hass
image: homeassistant/home-assistant:$HA_VER
volumes:
- ./hass_config:/config
- /etc/localtime:/etc/localtime:ro
network_mode: host
ports:
- 8123:8123
privileged: true
restart: always
environment:
TZ: $SET_TZ
nodered:
container_name: nodered
image: nodered/node-red:$NR_VER
volumes:
- ./node-red:/data
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 1880:1880
networks:
- backend
restart: always
environment:
TZ: $SET_TZ
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt:$Z2M_VER
volumes:
- ./zigbee2mqtt:/app/data
expose:
- "8888"
devices:
- /dev/ttyACM0:/dev/ttyACM0
privileged: true
restart: always
networks:
- backend
environment:
TZ: $SET_TZ
networks:
backend:
external:
name: backend