-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (38 loc) · 938 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (38 loc) · 938 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
40
41
42
version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: note-taker-backend
ports:
- "${BACKEND_PORT:-3100}:3100"
environment:
- ASSEMBLYAI_API_KEY=${ASSEMBLYAI_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- OPENAI_MODEL=${OPENAI_MODEL:-gpt-4o-mini}
- FLASK_ENV=${FLASK_ENV:-development}
volumes:
- ./backend:/app
- backend_uploads:/app/uploads
networks:
- note-taker-network
command: python app.py
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: note-taker-frontend
ports:
- "${FRONTEND_PORT:-3000}:3000"
environment:
- NEXT_PUBLIC_API_URL=http://localhost:${BACKEND_PORT:-3100}
depends_on:
- backend
networks:
- note-taker-network
networks:
note-taker-network:
driver: bridge
volumes:
backend_uploads: