-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (71 loc) · 1.68 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
66
67
68
69
70
71
72
73
74
75
76
services:
rag-server:
container_name: rag-server
image: registry.digitalocean.com/agelgel/cru-rag-server:latest
restart: always
build:
context: .
ports:
- "${APP_PORT}:8765"
environment:
- APP_PORT=${APP_PORT}
- GROQ_API_KEY=${GROQ_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
volumes:
- .:/app
networks:
- cru-rag-network
rag-embedder:
container_name: rag-embedder
restart: always
build:
context: .
environment:
- APP_PORT=${APP_PORT}
- GROQ_API_KEY=${GROQ_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
volumes:
- .:/app
command: python /app/embedder.py
networks:
- cru-rag-network
telegram-bot:
container_name: telegram-bot
restart: always
build:
context: .
volumes:
- .:/app
command: python /app/bot.py
networks:
- cru-rag-network
weaviate:
container_name: weaviate
restart: always
image: semitechnologies/weaviate:latest
ports:
- "${WEAVIATE_PORT}:8080"
- 50051:50051
volumes:
- .data/weaviate:/var/lib/weaviate
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'text2vec-openai'
ENABLE_MODULES: 'text2vec-openai,generative-openai'
OPENAI_APIKEY: "${OPENAI_API_KEY}"
CLUSTER_HOSTNAME: 'node1'
networks:
- cru-rag-network
redis:
image: redis:latest
container_name: my-redis
restart: always
volumes:
- .data/redis:/data
networks:
- cru-rag-network
networks:
cru-rag-network:
driver: bridge