-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 877 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 877 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
# AudioReader v4.0 — Docker Compose
version: "3.9"
services:
audioreader-api:
build: .
container_name: audioreader-api
ports:
- "8000:8000"
volumes:
- ./books:/app/books
- ./output:/app/output
- ./voice_samples:/app/voice_samples
- models:/app/models
environment:
- AUDIOREADER_OUTPUT_DIR=/app/output
restart: unless-stopped
command: ["python", "-m", "api"]
audioreader-web:
build: .
container_name: audioreader-web
ports:
- "7860:7860"
volumes:
- ./books:/app/books
- ./output:/app/output
- ./voice_samples:/app/voice_samples
- models:/app/models
environment:
- AUDIOREADER_OUTPUT_DIR=/app/output
restart: unless-stopped
command: ["python", "app.py"]
depends_on:
- audioreader-api
volumes:
models:
name: audioreader-models