-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (71 loc) · 1.65 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
version: "3.8"
x-logging:
&default-logging
options:
max-size: "200k"
max-file: "10"
services:
asr-server:
# To run with the default english model:
# python vosk-server/websocket/asr_server.py /app/model
# Other models can be loaded using the mount volume:
# [ES] e.g: python vosk-server/websocket/asr_server.py /app/models/vosk-model-small-es-0.22
image: jmrf/vosk-server-rpi:0.3.32-cp37
logging: *default-logging
networks:
- fiona
volumes:
- ${PWD}/asr/models:/app/models
ports:
- 2700:2700
command: >
python vosk-server/websocket/asr_server.py /app/model
devices:
- /dev/snd:/dev/snd # Access to ALSA device
nlu:
image: jmrf/nlu-rpi:0.1.0
logging: *default-logging
networks:
- fiona
volumes:
- ${PWD}/nlu/:/app/nlu
- ${PWD}/common/:/app/common
command: >
python -m nlu.__init__
rabbit:
# image: rabbitmq:3-management
image: ronnyroos/rpi-rabbitmq:latest
logging: *default-logging
networks:
- fiona
hostname: rabbitmq
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
node-red:
image: nodered/node-red:latest
logging: *default-logging
environment:
- TZ=Europe/Madrid
ports:
- "1880:1880"
networks:
- fiona
volumes:
- ${PWD}/data/NodeRed:/data
redis:
image: redis
networks: ["fiona"]
logging: *default-logging
ports:
- "6379:6379"
command:
- redis-server
- --protected-mode
- "no"
networks:
"fiona":
name: $PROJECT-network