This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
157 lines (149 loc) · 4.57 KB
/
docker-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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
---
version: "3.8"
volumes:
mycroft_skills:
name: mycroft_skills
driver: local
mycroft_skills_repo:
name: mycroft_skills_repo
driver: local
mycroft_skills_venv:
name: mycroft_venv
driver: local
services:
mycroft_bus:
container_name: mycroft_bus
hostname: mycroft_bus
restart: unless-stopped
image: smartgic/mycroft-bus:${VERSION}
network_mode: host
ipc: host
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${CONFIG_FOLDER}:/home/mycroft/.config/mycroft
- ${CACHE_FOLDER}:/tmp/mycroft
mycroft_enclosure:
container_name: mycroft_enclosure
hostname: mycroft_enclosure
restart: unless-stopped
image: smartgic/mycroft-enclosure:${VERSION}
network_mode: host
ipc: host
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${CONFIG_FOLDER}:/home/mycroft/.config/mycroft
- ${CACHE_FOLDER}:/tmp/mycroft
depends_on:
- mycroft_bus
mycroft_cli:
container_name: mycroft_cli
hostname: mycroft_cli
restart: unless-stopped
image: smartgic/mycroft-cli:${VERSION}
network_mode: host
ipc: host
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${CONFIG_FOLDER}:/home/mycroft/.config/mycroft
- ${CACHE_FOLDER}:/tmp/mycroft
- mycroft_skills_venv:/opt/mycroft-venv
- mycroft_skills_repo:/opt/mycroft
- mycroft_skills:/opt/mycroft/skills
depends_on:
- mycroft_bus
mycroft_audio:
container_name: mycroft_audio
hostname: mycroft_audio
restart: unless-stopped
image: smartgic/mycroft-audio:${VERSION}
network_mode: host
ipc: host
devices:
- /dev/snd
environment:
PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native
PULSE_COOKIE: /home/mycroft/.config/pulse/cookie
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${CONFIG_FOLDER}:/home/mycroft/.config/mycroft
- ${CACHE_FOLDER}:/tmp/mycroft
- ${MIMIC3_VOICES_FOLDER}:/home/mycroft/.local/share/mycroft/mimic3/voices
- ~/.config/pulse/cookie:/home/mycroft/.config/pulse/cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- mycroft_skills:/opt/mycroft/skills
depends_on:
- mycroft_bus
mycroft_voice:
container_name: mycroft_voice
hostname: mycroft_voice
restart: unless-stopped
image: smartgic/mycroft-voice:${VERSION}
network_mode: host
ipc: host
devices:
- /dev/snd
environment:
PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native
PULSE_COOKIE: /home/mycroft/.config/pulse/cookie
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${CONFIG_FOLDER}:/home/mycroft/.config/mycroft
- ${WEBCACHE_FOLDER}:/home/mycroft/.cache/mycroft
- ${MODELS_FOLDER}:/home/mycroft/models
- ~/.config/pulse/cookie:/home/mycroft/.config/pulse/cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- ${CACHE_FOLDER}:/tmp/mycroft
depends_on:
- mycroft_bus
- mycroft_audio
mycroft_skills:
container_name: mycroft_skills
hostname: mycroft_skills
restart: unless-stopped
image: smartgic/mycroft-skills:${VERSION}
network_mode: host
ipc: host
devices:
- /dev/snd
environment:
PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native
PULSE_COOKIE: /home/mycroft/.config/pulse/cookie
CRYPTOGRAPHY_DONT_BUILD_RUST: 1
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${CONFIG_FOLDER}:/home/mycroft/.config/mycroft
- ${WEBCACHE_FOLDER}:/home/mycroft/.cache/mycroft
- ~/.config/pulse/cookie:/home/mycroft/.config/pulse/cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- ${CACHE_FOLDER}:/tmp/mycroft
- mycroft_skills_venv:/opt/mycroft-venv
- mycroft_skills_repo:/opt/mycroft
- mycroft_skills:/opt/mycroft/skills
- /sys:/sys:ro
depends_on:
- mycroft_enclosure
mycroft_gui:
container_name: mycroft_gui
restart: unless-stopped
image: smartgic/mycroft-gui:${VERSION}
network_mode: host
ipc: host
devices:
- /dev/dri
environment:
DISPLAY: :0
XAUTHORITY: /tmp/.docker.xauth
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ${X11_SOCKET}:/tmp/.X11-unix
- ${XAUTHORITY}:/tmp/.docker.xauth
- mycroft_skills:/opt/mycroft/skills
depends_on:
- mycroft_enclosure