-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (26 loc) · 872 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
services:
backend:
build: ./backend
ports:
- "8000:8000" # Change the left side to use a different host port
environment:
- FRONTEND_URL=http://localhost:3000 # The URL your browser uses to access the frontend (for CORS)
- DATA_DIR=/data
# Optional - uncomment to enable features
# - OPENROUTER_API_KEY=your-key-here # enables photo/screenshot sync (manual entry sync works without this)
# - AUTH_ENABLED=true
# - AUTH_PASSPHRASE=your-passphrase
volumes:
- f1data:/data
- f1cache:/data/fastf1-cache
frontend:
build: ./frontend
ports:
- "3000:3000" # Change the left side to use a different host port
environment:
- NEXT_PUBLIC_API_URL=http://localhost:8000 # The URL your browser uses to reach the backend
depends_on:
- backend
volumes:
f1data:
f1cache: