-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
65 lines (59 loc) · 1.15 KB
/
docker-compose.yml
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
63
64
65
services:
frontend:
build: frontend
volumes:
- ./frontend:/app
networks:
- retclean
ports:
- "3000:80"
depends_on:
- backend
backend:
build: backend
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
- QDRANT_URL=http://qdrant:6333
- OLLAMA_URL=http://ollama:11434
volumes:
- ./backend:/app
networks:
- retclean
ports:
- "8000:8000"
depends_on:
- elasticsearch
- qdrant
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.0
environment:
- discovery.type=single-node
- xpack.security.enabled=false
volumes:
- es_storage:/usr/share/elasticsearch/data
networks:
- retclean
ports:
- "9200:9200"
ollama:
build: ./ollama
volumes:
- ./ollama:/app
ports:
- "11434:11434"
qdrant:
image: qdrant/qdrant:latest
volumes:
- qdrant_storage:/qdrant/storage
networks:
- retclean
ports:
- "6333:6333"
volumes:
es_storage:
driver: local
qdrant_storage:
driver: local
networks:
retclean:
driver: bridge