-
Notifications
You must be signed in to change notification settings - Fork 411
/
docker-compose.yaml
42 lines (38 loc) · 911 Bytes
/
docker-compose.yaml
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
services:
chromadb:
image: chromadb/chroma
ports:
- "8000:8000"
restart: always
volumes:
- chromadb_volume:/chroma/chroma
chatollama:
environment:
- CHROMADB_URL=http://chromadb:8000
- DATABASE_URL=file:/app/sqlite/chatollama.sqlite
- REDIS_HOST=redis
- COHERE_API_KEY=xxxxx
- COHERE_MODEL=ms-marco-MiniLM-L-6-v2
- COHERE_BASE_URL=http://peanutshell:8000/v1
image: 0001coder/chatollama:latest
pull_policy: always
#extra_hosts:
# - "host.docker.internal:host-gateway"
ports:
- "3000:3000"
restart: always
volumes:
- ~/.chatollama:/app/sqlite
redis:
image: redis:latest
restart: always
volumes:
- redis_data:/data
peanutshell:
image: ghcr.io/sugarforever/peanut-shell:latest
volumes:
- hf_data:/root/.cache
volumes:
chromadb_volume:
redis_data:
hf_data: