-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
50 lines (49 loc) · 1.19 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
version: "3.9"
services:
api:
build: .
ports:
- "8000:8000"
volumes:
- .:/app # Mount your local code to the container
depends_on:
- redis
redis:
image: "redis:latest"
ports:
- "6379:6379"
celery_transcription:
build: .
command: celery -A app.transcription_processor worker --loglevel=info --concurrency 1 -Q transcription_queue
environment:
- PYTHONPATH=/app
volumes:
- .:/app # Mount your local code to the container
- ./downloads:/app/downloads
- ./models:/app/models
depends_on:
- redis
celery_download:
build: .
command: celery -A app.download_processor worker --loglevel=info --concurrency 1 -Q download_queue
environment:
- PYTHONPATH=/app
volumes:
- .:/app # Mount your local code to the container
- ./downloads:/app/downloads
depends_on:
- redis
flower:
image: mher/flower
command: celery --broker=redis://redis:6379/0 flower
ports:
- "5556:5555"
depends_on:
- redis
frontend:
build: .
command: sh -c "cd /frontend && yarn install && yarn dev"
ports:
- "3000:3000"
volumes:
- ./frontend:/frontend