-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (58 loc) · 1.28 KB
/
Copy pathdocker-compose.yml
File metadata and controls
62 lines (58 loc) · 1.28 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
58
59
60
61
62
services:
postgres:
image: postgres:16-alpine
container_name: aira-postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: langgraph
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 10
redis:
image: redis:latest
container_name: aira-redis
restart: always
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 10
grobid:
image: grobid/grobid:0.8.2-crf
container_name: aira-grobid
ports:
- "8070:8070"
init: true
ulimits:
core: 0
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8070/api/isalive || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
qdrant:
image: qdrant/qdrant:latest
container_name: aira-qdrant
restart: always
ports:
- "6333:6333" # REST
- "6334:6334" # gRPC
volumes:
- qdrant_data:/qdrant/storage
volumes:
qdrant_data:
driver: local
postgres_data:
driver: local