-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (50 loc) · 1.19 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
version: '3.4'
services:
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.25.1
ports:
- 8080:8080
- 50051:50051
volumes:
- weaviate_data:/var/lib/weaviate
restart: on-failure:0
environment:
COHERE_APIKEY: ${COHERE_API_KEY}
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'text2vec-ollama'
ENABLE_MODULES: 'text2vec-ollama,generative-ollama,reranker-cohere'
CLUSTER_HOSTNAME: 'node1'
networks:
- weaviate-ollama
# ollama:
# entrypoint: ["/usr/bin/bash", "/entrypoint.sh"]
# image: ollama/ollama:latest
# ports:
# - 11434:11434
# volumes:
# - .:/code
# - ./ollama/ollama:/root/.ollama
# - ./entrypoint.sh:/entrypoint.sh
# container_name: ollama
# pull_policy: always
# tty: true
# restart: always
# environment:
# - OLLAMA_KEEP_ALIVE=24h
# - OLLAMA_HOST=0.0.0.0
# networks:
# - weaviate-ollama
volumes:
weaviate_data:
networks:
weaviate-ollama: