-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
51 lines (49 loc) · 1.08 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
51 lines (49 loc) · 1.08 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
services:
maicro:
build:
context: .
target: builder
container_name: maicro_dev
environment:
- PYTHONUNBUFFERED=1
- UVICORN_RELOAD=true
- PYTHONPATH=/app/src
env_file:
- .env
volumes:
- ./src:/app/src
- ./tests:/app/tests
- ./pyproject.toml:/app/pyproject.toml
- ./uv.lock:/app/uv.lock
- /app/.venv
ports:
- "8000:8000"
command: >
/app/.venv/bin/uvicorn main:app
--host 0.0.0.0
--port 8000
--reload
--reload-dir /app/src
depends_on:
- qdrant
healthcheck:
test:
["CMD-SHELL", "curl -f http://localhost:8000/api/v1/health || exit 1"]
interval: 15s
timeout: 10s
retries: 5
qdrant:
image: qdrant/qdrant:v1.2.0
container_name: qdrant_dev
environment:
QDRANT__SERVICE__API_KEY: "${QDRANT_API_KEY:-devkey}"
QDRANT__SERVICE__HTTP_PORT: 6333
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_data:/qdrant/storage
healthcheck:
disable: true
volumes:
qdrant_data: