-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (65 loc) · 1.67 KB
/
Copy pathdocker-compose.yml
File metadata and controls
69 lines (65 loc) · 1.67 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
services:
nginx:
build:
context: ./ai-frontend/dashboard
dockerfile: Dockerfile
image: vidogo-nginx:local
depends_on:
- flask-backend
- remotion-render
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- template-video-data:/usr/share/nginx/template-videos:ro
restart: unless-stopped
flask-backend:
build:
context: ./ai-backend
dockerfile: Dockerfile
image: vidogo-flask-backend:local
env_file:
- ./.env.production
environment:
VIDEO_GENERATION_BASE_URL: http://generate-video:8788
TEMPLATE_VIDEO_BASE_URL: http://remotion-render:8790
ANALYZER_DEVICE: cpu
volumes:
- backend-uploads:/app/uploads
- backend-qdrant:/app/qdrant_db
restart: unless-stopped
generate-video:
build:
context: ./generate_video(1)/generate_video
dockerfile: Dockerfile
image: vidogo-generate-video:local
env_file:
- ./.env.production
environment:
SERVER_HOST: 0.0.0.0
SERVER_PORT: 8788
DATA_DIR: data
volumes:
- generate-video-data:/app/data
restart: unless-stopped
remotion-render:
build:
context: ./remotion-render
dockerfile: Dockerfile
image: vidogo-remotion-render:local
env_file:
- ./.env.production
environment:
SERVER_HOST: 0.0.0.0
SERVER_PORT: 8790
TEMPLATE_VIDEO_DATA_DIR: data
TEMPLATE_VIDEO_PUBLIC_BASE: /template-videos
REMOTION_CONCURRENCY: 1
volumes:
- template-video-data:/app/data
restart: unless-stopped
volumes:
backend-uploads:
backend-qdrant:
generate-video-data:
template-video-data: