-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (88 loc) · 2.2 KB
/
docker-compose.yml
File metadata and controls
88 lines (88 loc) · 2.2 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
80
81
82
83
84
85
86
87
88
# -g "multicast dns register = no"
# -g "mdns name = mdns"
---
version: '2.3'
services:
samba:
container_name: samba
image: dperson/samba
command: |-
-g "netbios name = ${HOSTNAME}"
-g "ntlm auth = true"
-g "security = user"
-s "homeassistant;/share/homeassistant;yes;no;no"
-u "pi;${SAMBAPASSWORD}"
environment:
- GROUPID=1000
- HOSTNAME=${HOSTNAME}
# - NMBD=true
- TZ=Europe/London
- USERID=1000
- WORKGROUP=WORKGROUP
healthcheck:
disable: true
ports:
- "137:137/udp"
- "138:138/udp"
- "139:139"
- "445:445"
volumes:
- /home/pi/homeassistant:/share/homeassistant
restart: always
mqtt:
container_name: mqtt
image: eclipse-mosquitto
profiles:
- mqtt
healthcheck:
disable: true
ports:
- "1883:1883"
volumes:
- "/home/pi/homeassistant/mosquitto/mosquitto.conf:\
/mosquitto/config/mosquitto.conf"
- /home/pi/homeassistant/mosquitto/data:/mosquitto/data
- /home/pi/homeassistant/mosquitto/log:/mosquitto/log
restart: always
wsdd:
container_name: wsdd
image: kosdk/wsdd
environment:
- HOST_NAME=${HOSTNAME}
healthcheck:
disable: true
network_mode: host
restart: always
homeassistant:
container_name: hassio
image: "ghcr.io/home-assistant/home-assistant:stable"
healthcheck:
disable: true
volumes:
- /home/pi/homeassistant/config:/config
- /home/pi/homeassistant/scripts:/home/homeassistant/scripts:ro
- /etc/localtime:/etc/localtime:ro
- /media/pi/MEDIA:/media
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
restart: always
network_mode: host
esphome:
profiles:
- dev
container_name: esphome
image: jringe/esphome
volumes:
- /home/pi/homeassistant/esphome:/config
- /etc/localtime:/etc/localtime:ro
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
restart: always
privileged: true
network_mode: host
networks:
default:
external: true
name: mqtt-net
...