Docs: Add Docker option - running pre-built image. (#300)

This commit is contained in:
Wendong-Fan
2025-03-15 20:03:57 +08:00
committed by GitHub
3 changed files with 33 additions and 9 deletions

View File

@@ -15,13 +15,14 @@ WORKDIR /app
# 安装系统依赖合并为一个RUN命令减少层数
RUN apt-get update && apt-get install -y --no-install-recommends \
curl git ffmpeg libsm6 libxext6 xvfb xauth x11-utils \
gcc python3-dev \
build-essential python3-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# 复制项目文件
COPY owl/ ./owl/
COPY licenses/ ./licenses/
COPY assets/ ./assets/
COPY examples/ ./examples/
COPY README.md .
COPY README_zh.md .
COPY pyproject.toml .

View File

@@ -1,8 +1,14 @@
services:
owl:
build:
context: ..
dockerfile: .container/Dockerfile
# Option 1: Use pre-built image from Docker Hub
image: mugglejinx/owl:latest
# Option 2: Build image locally
# Uncomment the following lines and comment out the 'image' line above to build locally
# build:
# context: ..
# dockerfile: .container/Dockerfile
volumes:
# 挂载.env文件方便配置API密钥
- ../owl/.env:/app/owl/.env

View File

@@ -64,16 +64,32 @@ Our vision is to revolutionize how AI agents collaborate to solve real-world tas
- [📋 Table of Contents](#-table-of-contents)
- [🔥 News](#-news)
- [🎬 Demo Video](#-demo-video)
- [✨️ Core Features](#-core-features)
- [✨️ Core Features](#-core-features)
- [🛠️ Installation](#-installation)
- [**Clone the Github repository**](#clone-the-github-repository)
- [**Set up Environment**](#set-up-environment)
- [**Install Dependencies**](#install-dependencies)
- [Option 1: Using uv (Recommended)](#option-1-using-uv-recommended)
- [Option 2: Using venv and pip](#option-2-using-venv-and-pip)
- [Option 3: Using conda](#option-3-using-conda)
- [**Setup Environment Variables**](#setup-environment-variables)
- [Option 1: Using a `.env` File (Recommended)](#option-1-using-a-env-file-recommended)
- [Option 2: Setting Environment Variables Directly](#option-2-setting-environment-variables-directly)
- [**Running with Docker**](#running-with-docker)
- [🚀 Quick Start](#-quick-start)
- [Try MCP (Model Context Protocol) Integration](#try-mcp-model-context-protocol-integration)
- [Basic Usage](#basic-usage)
- [Running with Different Models](#running-with-different-models)
- [Model Requirements](#model-requirements)
- [Supported Models](#supported-models)
- [Example Tasks](#example-tasks)
- [🧰 Toolkits and Capabilities](#-toolkits-and-capabilities)
- [Model Context Protocol (MCP)](#model-context-protocol-mcp)
- [Available Toolkits](#available-toolkits)
- [Available Toolkits](#available-toolkits-1)
- [Multimodal Toolkits (Require multimodal model capabilities)](#multimodal-toolkits-require-multimodal-model-capabilities)
- [Text-Based Toolkits](#text-based-toolkits)
- [Customizing Your Configuration](#customizing-your-configuration)
- [🌐 Web Interface](#-web-interface)
- [Starting the Web UI](#starting-the-web-ui)
- [Features](#features)
- [🧪 Experiments](#-experiments)
- [⏱️ Future Plans](#-future-plans)
- [📄 License](#-license)
@@ -82,6 +98,7 @@ Our vision is to revolutionize how AI agents collaborate to solve real-world tas
- [🔥 Community](#-community)
- [❓ FAQ](#-faq)
- [📚 Exploring CAMEL Dependency](#-exploring-camel-dependency)
- [Accessing CAMEL Source Code](#accessing-camel-source-code)
- [⭐ Star History](#-star-history)
@@ -261,8 +278,8 @@ cd owl
cp owl/.env_template owl/.env
# Edit the .env file and fill in your API keys
# Option 1: Using docker-compose directly
# (By default it's using pre-built online image, you can also check the docker-compose.yml for building locally)
cd .container
docker-compose up -d