项目地址:
https://github.com/open-webui/open-webui
直接看 docker-compose.yml 文件 ,把里面的http://192.168.2.11:11434 改成你自己的ollama主机IP
version: '3.9'
services:
open-webui:
image: 'ghcr.io/open-webui/open-webui:main'
restart: always
container_name: open-webui
volumes:
- './open-webui:/app/backend/data'
environment:
- 'OLLAMA_BASE_URL=http://192.168.2.11:11434'
ports:
- '3000:8080'