From 4875574c6e5fd4d36b2a80398d0c29577b78c494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sil=C3=A9n?= Date: Mon, 25 May 2026 15:04:16 +0300 Subject: [PATCH] add MariaDB to README --- README.md | 5 ++++- README_CN.md | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 875b3e36a..31873505a 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ English | **[中文文档](./README_CN.md)** - Required: `Docker v20.10+` and `Docker Compose v2.0+` - Supported Systems: `CentOS/Debian/Ubuntu/macOS` and other Linux/Unix systems - 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. ### 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: -1、Backup original database +1、Backup the MariaDB database ```bash # Run command in the old project ./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 - `Database backup file` diff --git a/README_CN.md b/README_CN.md index 682892d5a..a51ac3216 100644 --- a/README_CN.md +++ b/README_CN.md @@ -22,6 +22,7 @@ - 必须安装:`Docker v20.10+` 和 `Docker Compose v2.0+` - 支持环境:`Centos/Debian/Ubuntu/macOS` 等 linux/unix 系统 - 硬件建议:2核4G以上 +- 数据库:MariaDB(默认 Docker Compose 中的 `mariadb` 服务) - 特别说明:Windows 可以使用 WSL2 安装 Linux 环境后再安装 DooTask。 ### 部署项目 @@ -115,13 +116,15 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 在新项目安装好之后按照以下步骤完成项目迁移: -1、备份原数据库 +1、备份 MariaDB 数据库 ```bash # 在旧的项目下执行指令 ./cmd mysql backup ``` +> `./cmd mysql` 为 CLI 子命令名称,实际操作的是 MariaDB 容器。 + 2、将旧项目以下文件和目录拷贝至新项目同路径位置 - `数据库备份文件`