-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 1.13 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
version: '3.8'
services:
backend:
build:
context: ./backend
container_name: llmkit-backend
environment:
- RUST_LOG=info
- DATABASE_URL=sqlite:/app/llmkit.db
- BIND_ADDRESS=0.0.0.0:8000
- JWT_SECRET=${JWT_SECRET}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- AZURE_ENDPOINT=${AZURE_ENDPOINT}
- AZURE_API_KEY=${AZURE_API_KEY}
ports:
- "8000:8000"
volumes:
- db_data:/app
# Keep migrations mounted from the host for easier updates
- ./backend/migrations:/app/migrations
restart: unless-stopped
ui:
build:
context: ./ui
container_name: llmkit-ui
ports:
- "3000:3000"
environment:
- HOST=0.0.0.0
- API_BASE_URL=http://backend:8000
depends_on:
- backend
restart: unless-stopped
volumes:
# Named volume for persistent database storage
# The SQLite database will be automatically created on first startup
# The app will run all necessary migrations automatically
db_data: