-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
40 lines (38 loc) · 1002 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
version: '3.4'
services:
weaviate:
image: semitechnologies/weaviate:1.18.2
restart: on-failure:0
volumes:
- /var/weaviate:/var/lib/weaviate
ports:
- "8080:8080"
environment:
QUERY_DEFAULTS_LIMIT: 20
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: "/var/lib/weaviate/data"
DEFAULT_VECTORIZER_MODULE: text2vec-openai
ENABLE_MODULES: text2vec-openai
OPENAI_APIKEY: <OPENAI_API_KEY>
CLUSTER_HOSTNAME: 'node1'
max:
build: .
environment:
SLACK_BOT_TOKEN: <SLACK_BOT_TOKEN>
SLACK_SIGNING_SECRET: <SLACK_SIGNING_SECRET>
OPENAI_TOKEN: <OPENAI_TOKEN>
POSTHOG_API_KEY: <POSTHOG_API_KEY>
POSTHOG_HOST: app.posthog.com
PD_API_KEY: <PD_API_KEY>
WEAVIATE_HOST: "http://weaviate"
WEAVIATE_PORT: 8080
ports:
- "8000:8000"
seed:
build: .
command: python seed.py
restart: 'no'
deploy:
replicas: 0
depends_on:
- weaviate