forked from open-webui/open-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
52 lines (50 loc) · 1.26 KB
/
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
43
44
45
46
47
48
49
50
51
52
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
searxng:
container_name: searxng
image: searxng/searxng:latest
environment:
- SEARXNG_UWSGI_WORKERS=${SEARXNG_UWSGI_WORKERS}
- SEARXNG_UWSGI_THREADS=${SEARXNG_UWSGI_THREADS}
- SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME}
ports:
- "8080:8080"
volumes:
- searxng-data:/etc/searxng:rw
env_file:
- .env
restart: always
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
volumes:
open-webui-data:
searxng-data: