-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 939 Bytes
/
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
version: '3.8'
services:
app:
container_name: ai-chat-frontend
build:
context: .
dockerfile: ./apps/ai-chat/Dockerfile
ports:
- '3000:3000'
depends_on:
- db
environment:
- MONGODB_URI=mongodb://db:27017
- WEAVIATE_HOST=weaviate:8080
env_file:
- ./apps/ai-chat/.env.local
db:
container_name: ai-chat-mongodb
image: mongo:6.0
build:
context: .
ports:
- '27017:27017'
volumes:
- db_data_1:/data/db
weaviate:
container_name: ai-chat-weaviate
image: semitechnologies/weaviate:1.19.3
ports:
- '8080:8080'
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
CLUSTER_HOSTNAME: 'node1'
volumes:
- db_data_2:/var/lib/weaviate
volumes:
db_data_1:
db_data_2: