add MariaDB to README

This commit is contained in:
Robert Silén 2026-05-25 15:04:16 +03:00
parent 0d31106b0f
commit 4875574c6e
2 changed files with 8 additions and 2 deletions

View File

@ -22,6 +22,7 @@ English | **[中文文档](./README_CN.md)**
- Required: `Docker v20.10+` and `Docker Compose v2.0+` - Required: `Docker v20.10+` and `Docker Compose v2.0+`
- Supported Systems: `CentOS/Debian/Ubuntu/macOS` and other Linux/Unix systems - Supported Systems: `CentOS/Debian/Ubuntu/macOS` and other Linux/Unix systems
- Hardware Recommendation: 2+ cores, 4GB+ memory - Hardware Recommendation: 2+ cores, 4GB+ memory
- Database: MariaDB (provided by the default Docker Compose `mariadb` service)
- Special Note: Windows users can install Linux environment using WSL2 before installing DooTask. - Special Note: Windows users can install Linux environment using WSL2 before installing DooTask.
### Deploy Project ### Deploy Project
@ -115,13 +116,15 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
After installing the new project, follow these steps to complete migration: After installing the new project, follow these steps to complete migration:
1、Backup original database 1、Backup the MariaDB database
```bash ```bash
# Run command in the old project # Run command in the old project
./cmd mysql backup ./cmd mysql backup
``` ```
> `./cmd mysql` is the CLI subcommand name; backups run against the MariaDB container.
2、Copy the following files and directories from old project to the same paths in new project 2、Copy the following files and directories from old project to the same paths in new project
- `Database backup file` - `Database backup file`

View File

@ -22,6 +22,7 @@
- 必须安装:`Docker v20.10+``Docker Compose v2.0+` - 必须安装:`Docker v20.10+``Docker Compose v2.0+`
- 支持环境:`Centos/Debian/Ubuntu/macOS` 等 linux/unix 系统 - 支持环境:`Centos/Debian/Ubuntu/macOS` 等 linux/unix 系统
- 硬件建议2核4G以上 - 硬件建议2核4G以上
- 数据库MariaDB默认 Docker Compose 中的 `mariadb` 服务)
- 特别说明Windows 可以使用 WSL2 安装 Linux 环境后再安装 DooTask。 - 特别说明Windows 可以使用 WSL2 安装 Linux 环境后再安装 DooTask。
### 部署项目 ### 部署项目
@ -115,13 +116,15 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
在新项目安装好之后按照以下步骤完成项目迁移: 在新项目安装好之后按照以下步骤完成项目迁移:
1、备份数据库 1、备份 MariaDB 数据库
```bash ```bash
# 在旧的项目下执行指令 # 在旧的项目下执行指令
./cmd mysql backup ./cmd mysql backup
``` ```
> `./cmd mysql` 为 CLI 子命令名称,实际操作的是 MariaDB 容器。
2、将旧项目以下文件和目录拷贝至新项目同路径位置 2、将旧项目以下文件和目录拷贝至新项目同路径位置
- `数据库备份文件` - `数据库备份文件`