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
42 lines (40 loc) · 1.09 KB
/
docker-compose.yaml
File metadata and controls
42 lines (40 loc) · 1.09 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
services:
open-webui:
image: 'ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG:-main}'
pull_policy: always
volumes:
- 'open-webui:/app/backend/data'
expose:
- '8080'
environment:
- 'OLLAMA_BASE_URL=http://host.docker.internal:11434'
- WEBUI_SECRET_KEY=
- ENABLE_RAG_WEB_SEARCH=true
- RAG_WEB_SEARCH_ENGINE=searxng
- 'SEARXNG_QUERY_URL=http://searxng:8080/search?q=<query>&format=json'
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: unless-stopped
depends_on:
- searxng
searxng:
container_name: searxng
image: 'searxng/searxng:latest'
volumes:
- ./search/searxng/searxng:/etc/searxng
environment:
- 'SEARXNG_BASE_URL=http://searxng:8080/'
- SEARXNG_BIND_ADDRESS=0.0.0.0
- SEARXNG_SECRET=ChangeMe123RandomKey!!
- SEARXNG_LIMITER=false #
- 'SEARXNG_BOTDETECTION__TRUSTED_PROXIES=*'
expose:
- "8080"
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m
max-file: '1'
volumes:
open-webui: {}