-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
106 lines (98 loc) · 2.09 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
networks:
- internal
env_file:
- .env
restart: unless-stopped
ports:
- '11434:11434'
volumes:
- ~/.ollama:/root/.ollama
openweb-ui:
container_name: openweb-ui
image: ghcr.io/open-webui/open-webui:main
networks:
- internal
depends_on:
- ollama
env_file:
- .env
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- WEBUI_SECRET_KEY=
restart: unless-stopped
ports:
- '8081:8080'
volumes:
- open_webui_data:/app/backend/data
unstructured-api:
container_name: unstructured-api
# image: downloads.unstructured.io/unstructured-io/unstructured-api:latest
# Use unofficial image until the official one is updated for ARM64
image: robwilkes/unstructured-api:latest
networks:
- internal
env_file:
- .env
restart: unless-stopped
ports:
- '8082:8080'
chroma:
container_name: chroma
image: ghcr.io/chroma-core/chroma:latest
networks:
- internal
restart: unless-stopped
ports:
- '8084:8000'
volumes:
- chroma_data:/chroma/chroma/
redis:
container_name: redis
image: redis:7-alpine
networks:
- internal
restart: unless-stopped
ports:
- '6379:6379'
volumes:
- redis_data:/data
localai:
container_name: localai
image: localai/localai:latest-aio-cpu
networks:
- internal
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8080/readyz']
interval: 1m
timeout: 20m
retries: 5
restart: unless-stopped
ports:
- '8083:8080'
environment:
- DEBUG=true
volumes:
- ./models:/build/models:cached
langchain-playground:
container_name: langchain-playground
build:
context: .
dockerfile: Dockerfile
networks:
- internal
env_file:
- .env
restart: unless-stopped
ports:
- '8080:8080'
networks:
internal:
driver: bridge
volumes:
open_webui_data:
redis_data:
chroma_data: