-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomeassistant.yml
More file actions
43 lines (40 loc) · 905 Bytes
/
homeassistant.yml
File metadata and controls
43 lines (40 loc) · 905 Bytes
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
networks:
mqtt:
proxy:
volumes:
home-assistant-config:
mosquitto-data:
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:2026.2.3
environment:
- TZ=${TIMEZONE}
expose:
- 8123 # webui
extends:
file: common.yml
service: log-to-json
networks:
- proxy
- mqtt
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
- home-assistant-config:/config
mosquitto:
image: docker.io/eclipse-mosquitto:2.0.22
environment:
- TZ=${TIMEZONE}
expose:
- 1883 # mqtt
extends:
file: common.yml
service: log-to-json
networks:
- mqtt
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- mosquitto-data:/mosquitto/data
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf