...
Code Block |
---|
使⽤ docker ⽅式安装客户端⼯具: docker pull ghcr.mirrorify.net/open-webui/open-webui:main vim docker-openwebui.sh -- docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=http://10.1.192.54:11434 --p rivileged=true -v open-webui:/app/backend/data --name open-webui --restar t always ghcr.mirrorify.net/open-webui/open-webui:main-- chmod +x docker-openwebui.sh ./docker-openwebui.sh |
docker-compose 部署
Code Block |
---|
version: '3.8'
services:
open-webui:
image: ghcr.mirrorify.net/open-webui/open-webui:main
container_name: open-webui
ports:
- "3000:8080"
environment:
- OLLAMA_BASE_URL=http://10.1.192.54:11434
privileged: true
volumes:
- open-webui:/app/backend/data
restart: always
volumes:
open-webui: |