-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
88 lines (83 loc) · 2.24 KB
/
docker-compose.yaml
File metadata and controls
88 lines (83 loc) · 2.24 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
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "homeassistant/home-assistant:latest"
volumes:
- /PATH_TO_YOUR_CONFIG:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
ports:
- "8123:8123"
#VSCode
vscode:
container_name: vscode
image: codercom/code-server
volumes:
# Set <project dir> to the directory you want to open in VS Code.
- /PATH_TO_YOUR_CONFIG:/config
# <vs code config> should point to a local dir where vs code stores its data.
- /PATH_TO_YOUR_CONFIG:/home/coder/.local/share/code-server
ports:
- "8443:8080"
command: code-server --auth none --disable-telemetry /config
restart: unless-stopped
#Mosquitto
mosquitto:
container_name: mqtt
image: eclipse-mosquitto
ports:
- "1883:1883"
# This port is for Webhooks
- "9001:9001"
volumes:
- /PATH_TO_YOUR_CONFIG:/mosquitto/config
- /PATH_TO_YOUR_DATA:/mosquitto/data
- /PATH_TO_YOUR_LOG:/mosquitto/log
#ESPHome
esphome:
container_name: esphome
image: esphome/esphome
ports:
- "6052:6052"
volumes:
# Update PATH_TO_YOUR_CONFIG, the :rw gives the container Read/Write access
- /PATH_TO_YOUR_CONFIG:/config:rw
# Use local time for logging timestamps
- /etc/localtime:/etc/localtime:ro
# You do have to map a serial port here. Determine your port and uncomment.
#devices:
# - /dev/ttyAMC0:/dev/ttyAMC0
restart: always
#Zigbee2MQTT
zigbee2mqtt:
container_name: zigbee2mqtt
depends_on:
- mosquitto
image: koenkk/zigbee2mqtt
volumes:
- /PATH_TO_YOUR_DATA:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8080:8080
deploy:
resources:
limits:
memory: 100M
restart: always
privileged: true
#Rhasspy
rhasspy:
image: "rhasspy/rhasspy"
container_name: rhasspy
restart: unless-stopped
volumes:
- "$HOME/.config/rhasspy/profiles:/profiles"
- "/etc/localtime:/etc/localtime:ro"
ports:
- "12101:12101"
devices:
- "/dev/snd:/dev/snd"
command: --user-profiles /profiles --profile en