mirror of
https://github.com/turtlebasket/michaelnet.git
synced 2026-03-04 19:44:31 -08:00
searxng for owui
This commit is contained in:
3
thonkpad/open-webui/.gitignore
vendored
Normal file
3
thonkpad/open-webui/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
open-webui-data
|
||||||
|
searxng
|
||||||
|
valkey-data2
|
||||||
@@ -3,6 +3,8 @@ version: "3"
|
|||||||
networks:
|
networks:
|
||||||
open-webui:
|
open-webui:
|
||||||
external: false
|
external: false
|
||||||
|
searxng:
|
||||||
|
external: false
|
||||||
|
|
||||||
services:
|
services:
|
||||||
open-webui:
|
open-webui:
|
||||||
@@ -23,9 +25,58 @@ services:
|
|||||||
- TASK_MODEL_EXTERNAL=gpt-4o
|
- TASK_MODEL_EXTERNAL=gpt-4o
|
||||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||||
- CORS_ALLOW_ORIGIN=https://open-webui.michaellisano.com
|
- CORS_ALLOW_ORIGIN=https://open-webui.michaellisano.com
|
||||||
|
- SEARXNG_QUERY_URL=http://searxng:8080
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- open-webui
|
- open-webui
|
||||||
|
- searxng
|
||||||
|
|
||||||
|
searxng:
|
||||||
|
# see: https://github.com/searxng/searxng-docker/blob/master/docker-compose.yaml
|
||||||
|
# (runs on port 8080)
|
||||||
|
container_name: open-webui-searxng
|
||||||
|
image: docker.io/searxng/searxng:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- searxng
|
||||||
|
volumes:
|
||||||
|
- ./searxng-settings.yml:/etc/searxng/settings.yml
|
||||||
|
- ./searxng:/etc/searxng:rw
|
||||||
|
environment:
|
||||||
|
- UWSGI_WORKERS=${SEARXNG_UWSGI_WORKERS:-4}
|
||||||
|
- UWSGI_THREADS=${SEARXNG_UWSGI_THREADS:-4}
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- CHOWN
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "1m"
|
||||||
|
max-file: "1"
|
||||||
|
|
||||||
|
searxng-valkey:
|
||||||
|
container_name: open-webui-searxng-valkey
|
||||||
|
image: docker.io/valkey/valkey:8-alpine
|
||||||
|
command: valkey-server --save 30 1 --loglevel warning
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- searxng
|
||||||
|
volumes:
|
||||||
|
- ./valkey-data2:/data
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
- DAC_OVERRIDE
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "1m"
|
||||||
|
max-file: "1"
|
||||||
|
|
||||||
open-webui-cloudflared:
|
open-webui-cloudflared:
|
||||||
container_name: open-webui-cloudflared
|
container_name: open-webui-cloudflared
|
||||||
|
|||||||
2574
thonkpad/open-webui/searxng-settings.yml
Normal file
2574
thonkpad/open-webui/searxng-settings.yml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user