-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
41 lines (40 loc) · 864 Bytes
/
docker-compose.yaml
File metadata and controls
41 lines (40 loc) · 864 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
services:
listener:
container_name: listener
volumes:
- ./src:/src
- /usr/share/alsa:/usr/share/alsa
- /etc/asound.conf:/etc/asound.conf
group_add:
- 29
ports:
- "8866:8866"
- "8867:8867"
command: python purevad.py
devices:
- /dev/snd:/dev/snd
# command: arecord -l
build:
context: .
dockerfile: Dockerfile
environment:
- SSLPASS=${SSLPASS}
- ALSA_CARD=2
minibrain:
container_name: minibrain
volumes:
- ./src:/src
- /usr/share/alsa:/usr/share/alsa
- /etc/asound.conf:/etc/asound.conf
group_add:
- 29
build:
context: .
dockerfile: Dockerfile
command: python minibrain.py
devices:
- /dev/snd:/dev/snd
environment:
- SSLPASS=${SSLPASS}
- ALSA_CARD=2
network_mode: "host"