forked from rahat15/AI-Interview-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (60 loc) · 1.7 KB
/
docker-compose.yml
File metadata and controls
65 lines (60 loc) · 1.7 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
services:
api:
build:
context: .
dockerfile: dockerfile
ports:
- "80:8000"
environment:
- MONGO_URI=mongodb+srv://karmansingharora03_db_user:8813917626%24Karman@cluster0.yyjs2ln.mongodb.net/ai-interview?retryWrites=true&w=majority&appName=Cluster0
#- REDIS_URL=redis://redis:6379/0
- SECRET_KEY=dev-secret-key-change-in-production
- ALGORITHM=HS256
- ACCESS_TOKEN_EXPIRE_MINUTES=30
- API_V1_STR=/v1
- PROJECT_NAME=Interview Coach API
- BACKEND_CORS_ORIGINS=["http://localhost:3000"]
- EMBEDDINGS_MODEL=local
- GROQ_API_KEY=${GROQ_API_KEY}
- LLM_MODEL=llama-3.1-8b-instant
volumes:
- ./uploads:/app/uploads
- ./samples:/app/samples
# depends_on:
# - redis
networks:
- interview-network
restart: unless-stopped
env_file:
- .env
# redis:
# image: redis:7-alpine
# ports:
# - "6379:6379"
# volumes:
# - redis_data:/data
# networks:
# - interview-network
# restart: unless-stopped
# worker:
# build:
# context: .
# dockerfile: dockerfile
# command: python -m apps.worker.queue
# environment:
# - MONGO_URI=mongodb+srv://karmansingharora03_db_user:8813917626%24Karman@cluster0.yyjs2ln.mongodb.net/ai-interview?retryWrites=true&w=majority&appName=Cluster0
# - REDIS_URL=redis://redis:6379/0
# - SECRET_KEY=dev-secret-key-change-in-production
# - EMBEDDINGS_MODEL=local
# volumes:
# - ./uploads:/app/uploads
# depends_on:
# - redis
# networks:
# - interview-network
# restart: unless-stopped
# volumes:
# redis_data:
networks:
interview-network:
driver: bridge