From 3388a154626634e69597208cfc0d992e7671916a Mon Sep 17 00:00:00 2001 From: sudoooooo Date: Wed, 17 Jul 2024 23:12:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0readme=E5=92=8Cdocker?= =?UTF-8?q?=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++----- README_EN.md | 7 +++---- docker-compose.yaml | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d0fcc8f8..db703b67 100644 --- a/README.md +++ b/README.md @@ -144,13 +144,11 @@ npm run local ### 方案二、(生产推荐) -#### 1、启动数据库 +#### 1、配置数据库 -> 项目使用 MongoDB:[MongoDB 安装指导](https://xiaojusurvey.didi.cn/docs/next/document/%E6%A6%82%E8%BF%B0/%E6%95%B0%E6%8D%AE%E5%BA%93#%E5%AE%89%E8%A3%85) +> 项目使用 MongoDB,需要提前准备,请查看[如何拥有 MongoDB 指南](./数据库#安装) -- 配置数据库,查看[MongoDB 配置](https://xiaojusurvey.didi.cn/docs/next/document/%E6%A6%82%E8%BF%B0/%E6%95%B0%E6%8D%AE%E5%BA%93) - -- 启动本地数据库,查看[MongoDB 启动](https://xiaojusurvey.didi.cn/docs/next/document/%E6%A6%82%E8%BF%B0/%E6%95%B0%E6%8D%AE%E5%BA%93#%E4%BA%94%E5%90%AF%E5%8A%A8) +配置数据库信息,查看[MongoDB 配置](./数据库)。 #### 2、安装依赖 diff --git a/README_EN.md b/README_EN.md index 3fbc59b8..88f41289 100644 --- a/README_EN.md +++ b/README_EN.md @@ -145,12 +145,11 @@ npm run local ### Option 2: (Recommended for Production) -#### 1.Start Database +#### 1.Configure Database -> The project uses MongoDB: [MongoDB Installation Guide](https://xiaojusurvey.didi.cn/docs/next/document/%E6%A6%82%E8%BF%B0/%E6%95%B0%E6%8D%AE%E5%BA%93#%E5%AE%89%E8%A3%85) +> The project uses MongoDB: [MongoDB Guide](https://xiaojusurvey.didi.cn/docs/next/document/%E6%A6%82%E8%BF%B0/%E6%95%B0%E6%8D%AE%E5%BA%93#%E5%AE%89%E8%A3%85) -- Configure the database, check MongoDB configuration. -- Start local database, check MongoDB startup. +Configure the database, check MongoDB configuration. #### 2.Install Dependencies diff --git a/docker-compose.yaml b/docker-compose.yaml index 261fd8d0..33e37dbf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,7 +15,7 @@ services: - xiaoju-survey xiaoju-survey: - image: "xiaojusurvey/xiaoju-survey:1.1.2-slim" + image: "xiaojusurvey/xiaoju-survey:1.1.6-slim" # 最新版本:https://hub.docker.com/r/xiaojusurvey/xiaoju-survey/tags container_name: xiaoju-survey restart: always ports: