Files
novatask/README.md
2024-12-05 20:51:35 +08:00

21 lines
846 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nova task 服务端
## 快速开始
1. 基于go-zero框架开发
2. golang 1.23.0+
3. 安装依赖工具: make init
## 组件依赖
1. MySQL 8.0+
2. Docker 27.1+
## 配置文件 [novatask.yaml](etc/saas.yaml)
1. 修改Mysql中的数据库地址以及账号密码
2. 其他配置项根据注释说明和实际需求自行修改
## 正式服部署
1. 将[docker-compose.yml](docker-compose.yml)文件拷贝到服务器上,并修改需要部署的镜像版本以及根据配置的端口修改端口映射
2. 在同一目录下创建文件夹etc 并将[novatask.yaml](etc/saas.yaml)文件拷贝到etc目录下并根据需求修改配置文件
3. 拉取镜像:``docker compose pull``
4. 起服:``docker compose up -d``
5. 配置http反向代理将``/api/task``前缀的路由代理到映射出来的端口上