-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
46 lines (42 loc) · 1.11 KB
/
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
version: '3'
services:
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
restart: unless-stopped
volumes:
- /home/pi/mosquitto:/mosquitto
- /home/pi/mosquitto/data:/mosquitto/data
- /home/pi/mosquitto/log:/mosquitto/log
ports:
- 1883:1883
- 9001:9001
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
restart: unless-stopped
volumes:
- /home/pi/HomeAssistant:/config
- /etc/localtime:/etc/localtime:ro
depends_on:
- mosquitto
privileged: true
network_mode: host
appdaemon:
container_name: appdaemon
image: acockburn/appdaemon:latest
restart: unless-stopped
environment:
HA_URL: "http://192.168.11.196:8123"
TOKEN: ""
DASH_URL: "http://192.168.11.196:5050"
ports:
- "5050:5050"
volumes:
# Set which local directory will contain all your app daemon configuration
- /home/pi/AppDaemon:/conf
# devices:
# - "/dev/spidev0.0:/dev/spidev0.1"
depends_on:
- homeassistant
privileged: true