-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
37 lines (35 loc) · 925 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
37 lines (35 loc) · 925 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
version: '3.8'
services:
backend:
build:
context: .
dockerfile: Dockerfile
image: repo-intelligence-agent:dev
volumes:
- ./backend:/app/backend
- ./core:/app/core
- ./services:/app/services
- ./models:/app/models
- ./storage:/app/storage
- ./agents:/app/agents
- ./memory:/app/memory
- ./data:/app/data
ports:
- "8001:8001"
environment:
- APP_ENV=development
- LOG_FORMAT=human
- LOG_LEVEL=DEBUG
- GITHUB_TOKEN=${GITHUB_TOKEN}
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
command: uvicorn backend.api:app --host 0.0.0.0 --port 8001 --reload
frontend:
image: node:20-alpine
working_dir: /app/frontend
volumes:
- ./frontend:/app/frontend
ports:
- "4321:4321"
environment:
- PUBLIC_API_URL=http://localhost:8001
command: sh -c "npm install && npm run dev -- --host"