Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to quickly deploy DeepGemini via Docker and what are the exact steps?

2025-08-27 1.3 K

Docker部署完整指南

DeepGemini提供两种Docker部署方案,以下是推荐的工作流程::

  1. environmental preparation::
    • fulfillmentdocker pull bradleylzh/deepgemini:latest获取最新镜像
    • Copy the environment template filecp .env.example .env
    • 创建空数据库文件echo "" > deepgemini.db
  2. Key Configurations:编辑.env文件至少配置:
    • ALLOW_API_KEY:设置访问密钥
    • ALLOW_ORIGINS:配置跨域权限(生产环境建议指定域名而非*)
    • 各模型API密钥(如DEEPSEEK_API_KEY)
  3. Launch Container::
    • 基础命令:docker run -d -p 8000:8000 -v $(pwd)/.env:/app/.env -v $(pwd)/deepgemini.db:/app/deepgemini.db --name deepgemini
    • Recommendeddocker-compose up -d(需提前配置compose文件)

部署成功后访问http://localhost:8000/dashboard即可进入管理界面。若遇端口冲突,修改命令中的-p 宿主端口:8000Ready to go.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish