-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
103 lines (103 loc) · 2.52 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3'
services:
#################################################
zigbee:
container_name: ZigBee
environment:
- TZ=Europe/Oslo
- DECONZ_WEB_PORT=8080
- DECONZ_WS_PORT=4430
- DECONZ_DEVICE=/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2231183-if00
build:
context: .
dockerfile: ./ZigBee/Dockerfile
volumes:
- zigbee-config:/root/.local/share/dresden-elektronik/deCONZ
- /dev:/dev
privileged: true
ports:
- 8080:8080
- 4430:4430
restart: unless-stopped
#################################################
motor:
container_name: Motor
environment:
- TZ=Europe/Oslo
build:
context: .
dockerfile: ./Motor/Dockerfile
volumes:
- logs:/logs
- /dev:/dev
privileged: true
#################################################
temperature:
container_name: Temperature
environment:
- TZ=Europe/Oslo
build:
context: .
dockerfile: ./Temperature/Dockerfile
volumes:
- logs:/logs
- /dev:/dev
privileged: true
restart: unless-stopped
#################################################
orientation:
container_name: Orientation
environment:
- TZ=Europe/Oslo
build:
context: .
dockerfile: ./Orientation/Dockerfile
volumes:
- logs:/logs
- /dev/gpiomem:/dev/gpiomem
privileged: true
restart: unless-stopped
#################################################
homeassistant:
container_name: HomeAssistant
build:
context: .
dockerfile: ./HomeAssistant/Dockerfile
environment:
- TZ=Europe/Oslo
volumes:
- homeassistant-config:/config
- logs:/logs:ro
network_mode: host
restart: unless-stopped
ports:
- 8123:8123
#################################################
portainer:
container_name: Portainer
build:
context: .
dockerfile: ./Portainer/Dockerfile
restart: unless-stopped
command: -H unix:///var/run/docker.sock
ports:
- 9000:9000
- 8000:8000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer-data:/data
#################################################
duckdns:
container_name: DuckDNS
build:
context: .
dockerfile: ./DuckDNS/Dockerfile
env_file:
- ./DuckDNS/DuckDNS.env
restart: unless-stopped
#################################################
volumes:
logs:
homeassistant-config:
portainer-data:
zigbee-config: