-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (86 loc) · 1.86 KB
/
docker-compose.yml
File metadata and controls
93 lines (86 loc) · 1.86 KB
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
services:
pdf-service:
build:
context: ./api/pdf-service
dockerfile: Dockerfile
container_name: pdf-service
ports:
- "8001:8001"
volumes:
- ./api/pdf-service:/app
networks:
- app_network
restart: unless-stopped
llm-service:
build:
context: ./api/llm-service
dockerfile: Dockerfile
container_name: llm-service
ports:
- "8002:8002"
env_file:
- ./api/llm-service/.env
volumes:
- ./api/llm-service:/app
networks:
- app_network
restart: unless-stopped
tts-service:
build:
context: ./api/tts-service
dockerfile: Dockerfile
container_name: tts-service
ports:
- "8003:8003"
env_file:
- ./api/tts-service/.env
volumes:
- ./api/tts-service:/app
- ./api/tts-service/static:/app/static
networks:
- app_network
restart: unless-stopped
# backend Gateway (Python)
backend:
build:
context: .
dockerfile: Dockerfile
container_name: backend
ports:
- "8000:8000"
env_file:
- ./.env
depends_on:
- pdf-service
- llm-service
- tts-service
volumes:
- .:/app
networks:
- app_network
restart: unless-stopped
# Frontend (React)
frontend:
build:
context: ./ui
dockerfile: Dockerfile
container_name: frontend
ports:
- "3000:3000"
environment:
- REACT_APP_BACKEND_URL=http://localhost:8000
- VITE_API_URL=http://localhost:8000
depends_on:
- backend
networks:
- app_network
restart: unless-stopped
##################################
# 🔗 Shared Network
##################################
networks:
app_network:
driver: bridge
volumes:
audio-files:
driver: local