-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
112 lines (107 loc) · 2.45 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
version: "3.7"
services:
speech-azure:
image: ikonoim/speech-azure:0.0.2
build:
context: speech-azure
dockerfile: Dockerfile
# runtime, or dev, or test for running tests
target: dev
restart: unless-stopped
ports:
- 8181:8000
environment:
- AZURE_API_TOKEN
- API_REGION
- DEFAULT_LANG=es-MX
volumes:
- ./config.yaml:/etc/config.yaml
- /etc/localtime:/etc/localtime
- ~/sounds/:/sounds
- ./speech-azure/src/:/app
logging:
driver: json-file
options:
max-size: 20m
max-file: "10"
networks:
- voice-api
speech-whisper:
image: ikonoim/speech-whisper:0.0.2
build:
context: speech-whisper
dockerfile: Dockerfile
# runtime, or dev, or test for running tests
target: dev
restart: unless-stopped
ports:
- 8183:8000
environment:
- OPENAI_API_KEY
volumes:
- ./config.yaml:/etc/config.yaml
- /etc/localtime:/etc/localtime
- ~/sounds/:/sounds
- ./speech-whisper/src/:/app
logging:
driver: json-file
options:
max-size: 20m
max-file: "10"
networks:
- voice-api
# speech-google:
# image: ikonoim/speech-google:0.0.1
# build:
# context: speech-google
# dockerfile: Dockerfile
# # runtime, or dev, or test for running tests
# target: runtime
# restart: unless-stopped
# ports:
# - 8182:8000
# environment:
# - GOOGLE_APPLICATION_CREDENTIALS
# volumes:
# - /etc/localtime:/etc/localtime
# - ~/sounds/:/sounds
# ## - ./speech-google/src/:/app
# logging:
# driver: json-file
# options:
# max-size: 20m
# max-file: "10"
# networks:
# - voice-api
tts-azure:
image: ikonoim/tts-azure:0.0.1
build:
context: tts-azure
dockerfile: Dockerfile
# runtime, or dev, or test for running tests
target: dev
restart: unless-stopped
ports:
- 8081:8000
environment:
- AZURE_API_TOKEN
volumes:
- ./config.yaml:/etc/config.yaml
- /etc/localtime:/etc/localtime
- ~/sounds/:/sounds
- ./tts-azure/src/:/app
logging:
driver: json-file
options:
max-size: 20m
max-file: "10"
networks:
- voice-api
networks:
voice-api:
name: voice-api
# driver: overlay
attachable: true
ipam:
config:
- subnet: 172.31.128.0/24