forked from Ontotext-AD/chatgpt-retrieval-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (57 loc) · 1.33 KB
/
docker-compose.yml
File metadata and controls
58 lines (57 loc) · 1.33 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
version: '3.4'
services:
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: semitechnologies/weaviate:1.24.4
ports:
- 8080:8080
volumes:
- weaviate_data:/var/lib/weaviate
restart: on-failure
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ENABLE_MODULES: ''
CLUSTER_HOSTNAME: 'node1'
retrieval:
build:
context: .
dockerfile: Dockerfile.run
ports:
- 8000:8000
restart: on-failure
environment:
OPENAI_API_KEY: 'SET YOUR OWN'
DATASTORE: 'weaviate'
WEAVIATE_URL: 'http://weaviate:8080'
WEAVIATE_CLASS: 'STARWARS'
CHUNK_SIZE: '400'
BEARER_TOKEN: 'SET YOUR OWN'
LOGURU_LEVEL: "INFO"
graphdb:
image: ontotext/graphdb:10.6.2
restart: always
ports:
- "7200:7200"
environment:
GDB_JAVA_OPTS: >-
-Xmx2g -Xms2g
-Dhealth.max.query.time.seconds=60
-Dgraphdb.append.request.id.headers=true
-Dgraphdb.gpt.token=SET_YOUR_OWN
-Dgraphdb.workbench.importDirectory=/opt/graphdb/home/graphdb-import
volumes:
- graphdb_data:/opt/graphdb/home
volumes:
graphdb_data:
weaviate_data:
...