feat: 更新readme和docker tag
This commit is contained in:
parent
ea5f99b0d2
commit
3388a15462
@ -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 配置](./数据库)。
|
||||||
|
|
||||||
- 启动本地数据库,查看[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)
|
|
||||||
|
|
||||||
#### 2、安装依赖
|
#### 2、安装依赖
|
||||||
|
|
||||||
|
@ -145,12 +145,11 @@ npm run local
|
|||||||
|
|
||||||
### Option 2: (Recommended for Production)
|
### 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.
|
Configure the database, check MongoDB configuration.
|
||||||
- Start local database, check MongoDB startup.
|
|
||||||
|
|
||||||
#### 2.Install Dependencies
|
#### 2.Install Dependencies
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ services:
|
|||||||
- xiaoju-survey
|
- xiaoju-survey
|
||||||
|
|
||||||
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
|
container_name: xiaoju-survey
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user