-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 848 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 848 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
38
version: '3.8'
services:
caas-api:
build:
context: .
dockerfile: Dockerfile
container_name: caas-api
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./examples:/app/examples
environment:
- CAAS_DATA_DIR=/app/data
- CAAS_STORAGE_DIR=/app/data/storage
- LOG_LEVEL=info
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
# Optional: Add a vector database service if needed in the future
# vector-db:
# image: qdrant/qdrant:latest
# container_name: caas-vector-db
# ports:
# - "6333:6333"
# volumes:
# - ./data/qdrant:/qdrant/storage
# restart: unless-stopped
volumes:
caas-data:
driver: local