-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (43 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
43 lines (43 loc) · 1.04 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
services:
api:
build: .
ports:
- "3000:3000"
env_file:
- .env
depends_on:
- redis
- weaviate
frontend:
image: node:20-alpine
working_dir: /usr/src/app
volumes:
- ./frontend:/usr/src/app
command: sh -c "npm install && npm run dev"
ports:
- "5173:5173"
depends_on:
- api
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis_data:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf:ro
command: redis-server /usr/local/etc/redis/redis.conf
weaviate:
image: semitechnologies/weaviate:1.24.0
ports:
- "8080:8080"
volumes:
- weaviate_data:/var/lib/weaviate
environment:
- AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true
- PERSISTENCE_DATA_PATH=/var/lib/weaviate
- DEFAULT_VECTORIZER_MODULE=none
- ENABLE_MODULES=text2vec-openai,text2vec-cohere,text2vec-huggingface,ref2vec-centroid,generative-openai,qna-openai
- CLUSTER_HOSTNAME=node1
volumes:
redis_data:
weaviate_data: