Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringHgui committed Jul 14, 2024
1 parent 513ca88 commit d16c306
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
# OpenTask
去中心设计的分布式任务调度平台

# 快速开始
## 1. 调度中心部署
1. docker-compose
```
# 克隆本项目
cd deploy/docker-compose
docker-compose up -d
```
2. k8s

3. docker

4. 传统手动部署

## 2. 执行节点开发

## 高级配置
1. 使用已有的数据库

# ¿ª·¢
1. ¿ª·¢Êý¾Ý¿â

# 贡献指南
1. 开发数据库搭建
```
docker run -e MYSQL_DATABASE=open_task -e MYSQL_ROOT_PASSWORD=OPEN_TASK_!@# -p 3308:3306 --name=mysql8 -d registry.cn-hangzhou.aliyuncs.com/hgui/mysql:8.4.1
```
```
2. 安装vs2022
打开`OpenTask.sln`解决方案进行开发

# 开源协议
MIT
4 changes: 3 additions & 1 deletion deploy/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ services:
volumes:
- /apps/opentask/logs:/app/Logs
environment:
- "ConnectionStrings__Core=server=localhost;Port=3306;user id=root;database=open_task;pooling=true;password=OPEN_TASK_!@#"
- "ConnectionStrings__Core=server=mysql;Port=3306;user id=root;database=open_task;pooling=true;password=OPEN_TASK_!@#"
- "TZ=Asia/Shanghai"
ports:
- 8080:8080
links:
- mysql

0 comments on commit d16c306

Please sign in to comment.