OpenWebUI by docker

OpenWebUI

Ollama

yml 复制代码
version: '3'
services:
    ollama:
        image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ollama/ollama:0.3.13
        container_name: ollama
        ports:
            - "11434:11434"
        volumes:
            - ./ollama_models_data:/root/.ollama

Open WebUI

yml 复制代码
version: '3.1'
services:
    open-webui:
        image: ghcr.io/open-webui/open-webui:ollama
        container_name: open-webui
        restart: always
        ports:
            - '3000:8080'
        volumes:
            - './webui:/root/.ollama'
            - './ollama:/app/backend/data'
        environment:
            - 'HF_ENDPOINT=https://hf-mirror.com'  # or https://www.modelscope.cn/models
            - 'ENABLE_OPENAI_API=false'
            - 'ENABLE_IMAGE_GENERATION=true'
            - 'OFFLINE_MODE=true'
            - 'TZ=Asia/Shanghai'
相关推荐
静心问道1 分钟前
BitDistiller:通过自蒸馏释放 Sub-4-Bit 大语言模型的潜力
人工智能·语言模型·模型加速·ai技术应用
格林威6 分钟前
Baumer工业相机堡盟工业相机如何通过YoloV8深度学习模型实现轮船检测识别(C#代码UI界面版)
人工智能·深度学习·数码相机·yolo·视觉检测
alex10015 分钟前
AI Agent开发学习系列 - langchain之LCEL(5):如何创建一个Agent?
人工智能·python·语言模型·langchain·prompt·向量数据库·ai agent
Gession-杰17 分钟前
OpenCV图像梯度、边缘检测、轮廓绘制、凸包检测大合集
人工智能·opencv·计算机视觉
JackieZeng52720 分钟前
Dynamic Model in RL
人工智能
计算机sci论文精选26 分钟前
CVPR 2024 3D传感框架实现无监督场景理解新纪元
人工智能·机器学习·计算机视觉·3d·cvpr·传感技术
小白iP代理29 分钟前
动态IP+AI反侦测:新一代爬虫如何绕过生物行为验证?
人工智能·爬虫·tcp/ip
钟屿35 分钟前
Multiscale Structure Guided Diffusion for Image Deblurring 论文阅读
论文阅读·图像处理·人工智能·深度学习·计算机视觉
聚客AI42 分钟前
🚀深度解析Agentic RAG:如何突破模型的知识边界
人工智能·llm·掘金·日新计划
吕永强1 小时前
AI 在金融:重塑金融服务的智能革命
人工智能·金融·科普