-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.13 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
version: "3.8"
# Agent42 development stack with optional backends
# Usage: cp .env.example .env && nano .env && docker compose up -d
services:
agent42:
build: .
ports:
- "8000:8000"
env_file:
- .env
environment:
- DASHBOARD_HOST=0.0.0.0
- REDIS_URL=redis://redis:6379/0
- QDRANT_URL=http://qdrant:6333
- QDRANT_ENABLED=true
volumes:
- agent42-data:/app/.agent42
depends_on:
redis:
condition: service_started
qdrant:
condition: service_started
restart: unless-stopped
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis-data:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333"
volumes:
- qdrant-data:/qdrant/storage
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6333/healthz"]
interval: 10s
timeout: 3s
retries: 3
volumes:
agent42-data:
redis-data:
qdrant-data: