feat: add more

This commit is contained in:
Sun-ZhenXing
2025-10-06 21:48:39 +08:00
parent f330e00fa0
commit 3c609b5989
120 changed files with 7698 additions and 59 deletions

89
src/opencoze/README.md Normal file
View File

@@ -0,0 +1,89 @@
# OpenCoze
[English](./README.md) | [中文](./README.zh.md)
OpenCoze is a comprehensive AI application development platform based on Coze Studio.
## Important Notice
OpenCoze requires a complex multi-service architecture that includes:
- MySQL (database)
- Redis (caching)
- Elasticsearch (search engine)
- MinIO (object storage)
- etcd (distributed configuration)
- Milvus (vector database)
- NSQ (message queue)
- Coze Server (main application)
- Nginx (reverse proxy)
Due to the complexity of this setup, **we recommend using the official docker-compose configuration directly** from the Coze Studio repository.
## Official Deployment
1. Clone the official repository:
```bash
git clone https://github.com/coze-dev/coze-studio.git
cd coze-studio/docker
```
2. Follow the official deployment guide:
- [Official Documentation](https://github.com/coze-dev/coze-studio)
- [Docker Deployment Guide](https://github.com/coze-dev/coze-studio/tree/main/docker)
3. The official docker-compose includes all necessary services with proper configuration.
## System Requirements
- **Minimum Resources**:
- CPU: 8 cores
- RAM: 16GB
- Disk: 100GB SSD
- **Recommended Resources**:
- CPU: 16 cores
- RAM: 32GB
- Disk: 200GB SSD
## Key Features
- **AI Bot Builder**: Visual interface for creating AI-powered chatbots
- **Workflow Automation**: Design complex workflows with AI capabilities
- **Knowledge Base**: Manage and utilize knowledge bases for AI responses
- **Plugin System**: Extend functionality with custom plugins
- **Multi-model Support**: Integration with various LLM providers
- **Team Collaboration**: Multi-user workspace with permission management
## Getting Started
For detailed setup instructions, please refer to:
- [Official GitHub Repository](https://github.com/coze-dev/coze-studio)
- [Official Docker Compose](https://github.com/coze-dev/coze-studio/blob/main/docker/docker-compose.yml)
## Alternative: Cloud Version
If self-hosting is too complex, consider using the cloud version:
- [Coze Cloud](https://www.coze.com/) (Official cloud service)
## Security Notes
When deploying OpenCoze:
- Change all default passwords
- Use strong encryption keys
- Enable HTTPS with valid SSL certificates
- Implement proper firewall rules
- Regularly backup all data volumes
- Keep all services updated to the latest versions
- Monitor resource usage and performance
## Support
For issues and questions:
- [GitHub Issues](https://github.com/coze-dev/coze-studio/issues)
- [Official Documentation](https://github.com/coze-dev/coze-studio)

89
src/opencoze/README.zh.md Normal file
View File

@@ -0,0 +1,89 @@
# OpenCoze
[English](./README.md) | [中文](./README.zh.md)
OpenCoze 是一个基于 Coze Studio 的综合性 AI 应用开发平台。
## 重要提示
OpenCoze 需要一个复杂的多服务架构,包括:
- MySQL(数据库)
- Redis(缓存)
- Elasticsearch(搜索引擎)
- MinIO(对象存储)
- etcd(分布式配置)
- Milvus(向量数据库)
- NSQ(消息队列)
- Coze Server(主应用)
- Nginx(反向代理)
由于设置的复杂性,**我们建议直接使用 Coze Studio 仓库中的官方 docker-compose 配置**。
## 官方部署
1. 克隆官方仓库:
```bash
git clone https://github.com/coze-dev/coze-studio.git
cd coze-studio/docker
```
2. 遵循官方部署指南:
- [官方文档](https://github.com/coze-dev/coze-studio)
- [Docker 部署指南](https://github.com/coze-dev/coze-studio/tree/main/docker)
3. 官方 docker-compose 包含所有必需的服务及适当的配置。
## 系统要求
- **最低要求**:
- CPU: 8 核
- 内存: 16GB
- 磁盘: 100GB SSD
- **推荐配置**:
- CPU: 16 核
- 内存: 32GB
- 磁盘: 200GB SSD
## 主要功能
- **AI 机器人构建器**: 用于创建 AI 驱动的聊天机器人的可视化界面
- **工作流自动化**: 设计具有 AI 能力的复杂工作流
- **知识库**: 管理和利用知识库进行 AI 响应
- **插件系统**: 使用自定义插件扩展功能
- **多模型支持**: 与各种 LLM 提供商集成
- **团队协作**: 具有权限管理的多用户工作区
## 快速开始
详细的设置说明请参考:
- [官方 GitHub 仓库](https://github.com/coze-dev/coze-studio)
- [官方 Docker Compose](https://github.com/coze-dev/coze-studio/blob/main/docker/docker-compose.yml)
## 替代方案: 云版本
如果自托管过于复杂,可以考虑使用云版本:
- [Coze 云服务](https://www.coze.com/)(官方云服务)
## 安全提示
部署 OpenCoze 时:
- 更改所有默认密码
- 使用强加密密钥
- 启用带有有效 SSL 证书的 HTTPS
- 实施适当的防火墙规则
- 定期备份所有数据卷
- 保持所有服务更新到最新版本
- 监控资源使用和性能
## 支持
如有问题和疑问:
- [GitHub Issues](https://github.com/coze-dev/coze-studio/issues)
- [官方文档](https://github.com/coze-dev/coze-studio)

View File

@@ -0,0 +1,29 @@
x-default: &default
restart: unless-stopped
volumes:
- &localtime /etc/localtime:/etc/localtime:ro
- &timezone /etc/timezone:/etc/timezone:ro
logging:
driver: json-file
options:
max-size: 100m
services:
# Note: OpenCoze is a complex platform that requires multiple services.
# This is a placeholder configuration. For full deployment, please refer to:
# https://github.com/coze-dev/coze-studio/tree/main/docker
opencoze-info:
image: alpine:latest
container_name: opencoze-info
command: >
sh -c "echo 'OpenCoze requires a complex multi-service setup.' &&
echo 'Please visit https://github.com/coze-dev/coze-studio for full deployment instructions.' &&
echo 'The official docker-compose includes: MySQL, Redis, Elasticsearch, MinIO, etcd, Milvus, NSQ, and the Coze server.' &&
echo 'For production deployment, consider using their official docker-compose.yml directly.' &&
tail -f /dev/null"
deploy:
resources:
limits:
cpus: '0.1'
memory: 64M