forked from open-webui/open-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
51 lines (48 loc) · 1.14 KB
/
docker-compose.yaml
File metadata and controls
51 lines (48 loc) · 1.14 KB
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
services:
open-webui:
build:
context: .
dockerfile: Dockerfile
container_name: open-webui
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GOOGLE_SHEET_CREDENTIALS=${GOOGLE_SHEET_CREDENTIALS}
- ENABLE_RAG_WEB_SEARCH=${ENABLE_RAG_WEB_SEARCH}
- RAG_WEB_SEARCH_ENGINE=${RAG_WEB_SEARCH_ENGINE}
- RAG_WEB_SEARCH_RESULT_COUNT=${RAG_WEB_SEARCH_RESULT_COUNT}
- RAG_WEB_SEARCH_CONCURRENT_REQUESTS=${RAG_WEB_SEARCH_CONCURRENT_REQUESTS}
- SEARXNG_QUERY_URL=${SEARXNG_QUERY_URL}
ports:
- "3000:8080"
volumes:
- open-webui-data:/app/backend/data
restart: always
env_file:
- .env
depends_on:
- searxng
networks:
- shared-network
searxng:
container_name: searxng
image: searxng/searxng
ports:
- "8081:8080"
volumes:
- searxng-config:/etc/searxng:rw
env_file:
- .env
restart: unless-stopped
networks:
- shared-network
volumes:
open-webui-data:
searxng-config:
driver: local
driver_opts:
type: none
o: bind
device: ./searxng
networks:
shared-network:
external: true