epic open webui
This commit is contained in:
parent
b76e384960
commit
4eb41f4735
4
.gitignore
vendored
4
.gitignore
vendored
@ -2,3 +2,7 @@
|
|||||||
ollama/
|
ollama/
|
||||||
|
|
||||||
.env.local
|
.env.local
|
||||||
|
|
||||||
|
open-webui/
|
||||||
|
|
||||||
|
searxng/
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mongodb:
|
ollama:
|
||||||
image: mongo:4.4.6
|
|
||||||
ports:
|
|
||||||
- 27017:27017
|
|
||||||
networks:
|
|
||||||
- chat-ui
|
|
||||||
|
|
||||||
ollama-service:
|
|
||||||
image: ollama/ollama:rocm
|
image: ollama/ollama:rocm
|
||||||
|
container_name: ollama
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
volumes:
|
volumes:
|
||||||
@ -16,24 +10,51 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- /dev/kfd # Grant access to /dev/kfd device
|
- /dev/kfd # Grant access to /dev/kfd device
|
||||||
- /dev/dri # Grant access to /dev/dri device
|
- /dev/dri # Grant access to /dev/dri device
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- chat-ui
|
- chat-ui
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
chat-ui:
|
open-webui:
|
||||||
image: ghcr.io/huggingface/chat-ui-db:latest
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
volumes:
|
container_name: open-WebUI
|
||||||
- ./db:/data
|
|
||||||
- .env.local:/app/.env.local
|
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- "3000:8080"
|
||||||
environment:
|
volumes:
|
||||||
- MONGODB_URL=mongodb://mongodb:27017
|
- ./open-webui:/app/backend/data
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongodb
|
- ollama
|
||||||
|
environment:
|
||||||
|
- OLLAMA_BASE_URL=http://ollama:11434
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- chat-ui
|
- chat-ui
|
||||||
|
|
||||||
|
searxng:
|
||||||
|
container_name: searxng
|
||||||
|
image: searxng/searxng:latest
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./searxng:/etc/searxng:rw
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- CHOWN
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
- DAC_OVERRIDE
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "1m"
|
||||||
|
max-file: "1"
|
||||||
|
networks:
|
||||||
|
- chat-ui
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
chat-ui:
|
chat-ui:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user