-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
52 lines (47 loc) · 2.1 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
version: '3'
services:
transcription_local:
image: keplerlab/kaldi-vosk-wesocket-server:0.1.2
ports:
- "1111:1111"
- "1112:1112"
volumes:
- ./api/transcription_svc/websocket-server/:/opt/transcription_svc/websocket-server/
#- ./api/transcription_svc/models/vosk-model-en-us-daanzu-20200905-big/:/opt/transcription_svc/vosk-model-en/model/
- ./certificates-and-credentials/:/opt/transcription_svc/websocket-server/certificates-and-credentials/
environment:
- SERVER_INTERFACE=0.0.0.0
- SERVER_PORT=1111
- SAMPLE_RATE=44100
- VOSK_MODEL_PATH=model
# speaker_diarization:
# build: ./api/transcription_svc/speaker_diarization/
# stdin_open: true # docker run -i
# tty: true # docker run -t
# volumes:
# - ./api/transcription_svc/speaker_diarization/test_audio/:/opt/transcription_svc/speaker_diarization/test_audio/
# #- ./api/transcription_svc/models/vosk-model-en-us-daanzu-20200905-big/:/opt/transcription_svc/vosk-model-en/model/
# azure:
# build: ./api/transcription_svc/azure/
# stdin_open: true # docker run -i
# tty: true # docker run -t
# volumes:
# - ./api/transcription_svc/azure/test_audio/:/data/
# #- ./api/transcription_svc/models/vosk-model-en-us-daanzu-20200905-big/:/opt/transcription_svc/vosk-model-en/model/
cli:
image: keplerlab/enhant-cli:0.1.5
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/opt/transcription_svc/websocket-server/certificates-and-credentials/google_credential_file.json # Google credential file
volumes:
- ./certificates-and-credentials/:/opt/transcription_svc/websocket-server/certificates-and-credentials/
- ./cli/:/home/cli/
- ./meeting-data/:/home/cli/meeting-data/
- ./nlp_lib/:/home/nlp_lib/
- ./docs/:/home/docs/
- ./plugins/:/home/plugins/
- ./api/transcription_svc/:/home/api/transcription_svc/
- ./dashboard/:/home/dashboard/
# Exclude mount node_modules directory
#- /usr/src/app/node_modules/