-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·65 lines (62 loc) · 1.46 KB
/
docker-compose.yml
File metadata and controls
executable file
·65 lines (62 loc) · 1.46 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
version: '3.7'
services:
db:
container_name: mariaDb
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
TZ: ${TZ}
volumes:
- ./mariaDb:/var/lib/mysql
ports:
- 3306:3306
mqtt:
container_name: mosquitto
image: eclipse-mosquitto:latest
restart: always
volumes:
- ./mqtt/config:/mosquitto/config
- ./mqtt/data:/mosquitto/data
- ./mqtt/log:/mosquitto/log
ports:
- 1883:1883
- 9001:9001
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant
restart: always
links:
- db:db
- mqtt:mqtt
environment:
TZ: ${TZ}
volumes:
- ./Home-AssistantConfig:/config
- /etc/letsencrypt:/etc/letsencrypt
ports:
- 443:8123
devices:
- /dev/ttyACM0:/dev/ttyACM0
#- /dev/ttyACM0:/dev/ttyACM1
# deconz:
# image: marthoc/deconz
# container_name: deconz
# network_mode: host
# restart: always
# volumes:
# #- /opt/deconz:/opt/deconz
# - /opt/deconz:/root/.local/share/dresden-elektronik/deCONZ
# devices:
# - /dev/ttyACM0
# environment:
# - DECONZ_WEB_PORT=8088
# - DECONZ_WS_PORT=4443
# - DEBUG_INFO=1
# - DEBUG_APS=0
# - DEBUG_ZCL=0
# - DEBUG_ZDP=0
# - DEBUG_OTAU=0