-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (42 loc) · 952 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
41
42
43
44
45
46
47
services:
ollama:
image: ollama/ollama
restart: always
volumes:
- ./services/ollama:/root/.ollama
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
chroma:
image: chromadb/chroma:latest
restart: always
volumes:
- ./services/webui/vector_db:/chroma/chroma
environment:
- IS_PERSISTENT=TRUE
webui:
image: ghcr.io/open-webui/open-webui:main
restart: always
depends_on:
- ollama
- chroma
ports:
- 8080:8080
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
- CHROMA_SERVER_HOST=http://chroma:8000
volumes:
- ./services/webui:/app/backend/data
notebook:
build: ./services/jupyter/
restart: always
volumes:
- ./services/jupyter/notebook:/project
depends_on:
- ollama
- chroma
ports:
- 8888:8888