-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 826 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 826 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
39
40
41
services:
app:
build: .
ports:
- "3001:3001"
env_file: .env
environment:
- PORT=3001
- DATA_DIR=/data
- QDRANT_URL=http://qdrant:6333
- OLLAMA_URL=http://ollama:11434
- EMBED_MODEL=nomic-embed-text
- DEMO_MODE=true
- ALLOWED_INGEST_DIRS=/home/ubuntu/apps,/home/ubuntu/terraform,/home/ubuntu/kube
volumes:
- app-data:/data
depends_on:
- qdrant
- ollama
restart: unless-stopped
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333"
volumes:
- qdrant-data:/qdrant/storage
restart: unless-stopped
ollama:
image: ollama/ollama:latest
ports:
- "11434:11434"
volumes:
- ollama-data:/root/.ollama
restart: unless-stopped
volumes:
app-data:
qdrant-data:
ollama-data: