-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
66 lines (61 loc) · 1.31 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
version: '3.6'
networks:
ollama:
services:
ollama:
image: ollama/ollama
networks:
- ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
volumes:
- ./data/ollama:/root/.ollama
ports:
- 11434:11434
ollama-webui:
image: ghcr.io/ollama-webui/ollama-webui:main
volumes:
- ./data/ollama-webui:/app/backend/data
depends_on:
- ollama
ports:
- 3002:8080
environment:
- 'OLLAMA_API_BASE_URL=http://ollama:11434/api'
extra_hosts:
- host.docker.internal:host-gateway
networks:
- ollama
document_buddy:
image: johncapobianco/document_buddy:document_buddy
container_name: document_buddy
restart: always
build:
context: ./
dockerfile: ./docker/Dockerfile
args:
APP_USERNAME: docubuddy
APP_UID: 1000
ports:
- "8510:8510"
volumes:
- ./config.toml:/app/.streamlit/config.toml
environment:
- OLLAMA_URL=http://ollama:11434
depends_on:
- ollama
networks:
- ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]