forked from yoanbernabeu/grepai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
53 lines (50 loc) · 1.25 KB
/
compose.yaml
File metadata and controls
53 lines (50 loc) · 1.25 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
services:
postgres:
image: pgvector/pgvector:pg16
container_name: grepai-postgres
environment:
POSTGRES_USER: grepai
POSTGRES_PASSWORD: grepai
POSTGRES_DB: grepai
ports:
- "5432:5432"
volumes:
- grepai-pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U grepai"]
interval: 5s
timeout: 5s
retries: 5
profiles:
- postgres
# Optional: Qdrant for vector storage
qdrant:
image: qdrant/qdrant:latest
container_name: qdrant_local
ports:
- "6333:6333" # API HTTP & Dashboard
- "6334:6334" # API gRPC
volumes:
- ./qdrant_storage:/qdrant/storage:z
profiles:
- qdrant
# Optional: Ollama for local embeddings (Linux only)
# Uncomment the following to run Ollama in Docker
# ollama:
# image: ollama/ollama:latest
# container_name: grepai-ollama
# ports:
# - "11434:11434"
# volumes:
# - grepai-ollama:/root/.ollama
# # For GPU support (NVIDIA), add:
# # deploy:
# # resources:
# # reservations:
# # devices:
# # - driver: nvidia
# # count: all
# # capabilities: [gpu]
volumes:
grepai-pgdata:
# grepai-ollama: