-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
36 lines (36 loc) · 1.11 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
version: '3.4'
services:
langchain:
build:
context: .
dockerfile: dockerfile
ports:
- 8000:8000
restart: always
environment:
OPENAI_API_KEY: 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
GOOGLE_CLOUD_PROJECT_ID: tsmccareerhack2024-tsid-grp3
GOOGLE_CLOUD_STORAGE_BUCKET: tsmccareerhack2024-tsid-grp3-bucket
HUGGINGFACEHUB_API_TOKEN: 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
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8765'
- --scheme
- http
image: semitechnologies/weaviate:1.23.4
ports:
- 8765:8765
- 50051:50051
volumes:
- /var/weaviate:/var/lib/weaviate
restart: on-failure:0
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ENABLE_MODULES: 'text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,generative-openai,generative-cohere,generative-palm,ref2vec-centroid,reranker-cohere,qna-openai'
CLUSTER_HOSTNAME: 'node1'