-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (40 loc) · 889 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (40 loc) · 889 Bytes
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:
ollama:
image: ollama/ollama
ports:
- "11434:11434"
volumes:
- ~/.ollama:/root/.ollama
chromadb:
image: chromadb/chroma:1.4.1
ports:
- "8000:8000"
environment:
- IS_PERSISTENT=TRUE
- ANONYMIZED_TELEMETRY=TRUE
volumes:
- chroma-data:/chroma/chroma
tapes:
build:
dockerfile: dockerfiles/tapes.Dockerfile
depends_on:
- ollama
- chromadb
ports:
- "8080:8080"
- "8081:8081"
command: >-
serve
--upstream http://ollama:11434
--sqlite /data/tapes.sqlite
--vector-store-provider chroma
--vector-store-target http://chromadb:8000
--embedding-provider ollama
--embedding-target http://ollama:11434
--embedding-model nomic-embed-text
--debug
volumes:
- tapes-data:/data
volumes:
chroma-data:
tapes-data: