forked from neural-maze/ava-whatsapp-agent-course
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
57 lines (54 loc) · 1.18 KB
/
docker-compose.dev.yml
File metadata and controls
57 lines (54 loc) · 1.18 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
services:
qdrant:
image: qdrant/qdrant:latest
ports:
- "6335:6333"
volumes:
- ./long_term_memory:/qdrant/storage
restart: unless-stopped
environment:
- QDRANT_ALLOW_RECOVERY_MODE=true
backend:
build:
context: .
dockerfile: docker/Dockerfile.backend.dev
ports:
- "8005:8000"
volumes:
- ./src:/app/src
- ./pyproject.toml:/app/pyproject.toml
- ./uv.lock:/app/uv.lock
- ./short_term_memory:/app/data
env_file:
- .env
environment:
- ENVIRONMENT=development
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
- QDRANT_URL=http://qdrant:6333
- PORT=8000
depends_on:
- qdrant
develop:
watch:
- action: sync
path: ./src
target: /app/src
- action: rebuild
path: ./pyproject.toml
frontend:
build:
context: ./frontend
dockerfile: ../docker/Dockerfile.frontend.dev
ports:
- "3005:3000"
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- VITE_API_TARGET=http://backend:8000
depends_on:
- backend
volumes:
long_term_memory:
short_term_memory: