Skip to content

Commit 65fe6be

Browse files
yu199195xiaoyu137
andauthored
modify local module config (apache#899)
* modify local module config * modify local module config * modify local module config --------- Co-authored-by: xiaoyu137 <xiaoyu137@jd.com>
1 parent 82c5150 commit 65fe6be

File tree

12 files changed

+54
-12
lines changed

12 files changed

+54
-12
lines changed

docs/developer/local-model.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ description: Local Model
66

77
## Description
88

9-
* Standalone environment, then use the local `API` to update the apache shenyu gateway data。
9+
* Standalone environment, then use the local `API` to update the apache shenyu gateway data.the yaml config:
10+
11+
```yaml
12+
shenyu:
13+
local:
14+
enabled: true
15+
sha512Key: 123456
16+
```
1017
1118
* Common result:
1219

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Default password: **123456**
6161

6262
```
6363
docker pull apache/shenyu-bootstrap
64-
docker run -d -p 9195:9195 --net shenyu apache/shenyu-bootstrap
64+
docker run -d -p 9195:9195 -e "shenyu.local.enabled=true" --net shenyu apache/shenyu-bootstrap
6565
```
6666

6767
### Set router

i18n/zh/docusaurus-plugin-content-docs/current/developer/local-model.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ description: 本地模式
66

77
## 说明
88

9-
* 主要介绍在单机环境下,然后使用本地 `API` 更新网关数据。
9+
* 主要介绍在单机环境下,然后使用本地 `API` 更新网关数据。 配置属性:
10+
11+
```yaml
12+
shenyu:
13+
local:
14+
enabled: true
15+
sha512Key: 123456
16+
```
1017
1118
* 统一返回结果:
1219

i18n/zh/docusaurus-plugin-content-docs/current/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin
5656

5757
```
5858
docker pull apache/shenyu-bootstrap
59-
docker run -d -p 9195:9195 --net shenyu apache/shenyu-bootstrap
59+
docker run -d -p 9195:9195 -e "shenyu.local.enabled=true" --net shenyu apache/shenyu-bootstrap
6060
```
6161

6262
### 路由设置

i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/developer/local-model.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ description: 本地模式
66

77
## 说明
88

9-
* 主要介绍在单机环境下,然后使用本地 `API` 更新网关数据。
9+
* 主要介绍在单机环境下,然后使用本地 `API` 更新网关数据。 配置属性:
10+
11+
```yaml
12+
shenyu:
13+
local:
14+
enabled: true
15+
sha512Key: 123456
16+
```
1017
1118
* 统一返回结果:
1219

i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin
5252

5353
```
5454
docker pull apache/shenyu-bootstrap
55-
docker run -d -p 9195:9195 --net shenyu apache/shenyu-bootstrap
55+
docker run -d -p 9195:9195 -e "shenyu.local.enabled=true" --net shenyu apache/shenyu-bootstrap
5656
```
5757

5858
### 路由设置

i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/developer/local-model.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ description: 本地模式
66

77
## 说明
88

9-
* 主要介绍在单机环境下,然后使用本地 `API` 更新网关数据。
9+
* 主要介绍在单机环境下,然后使用本地 `API` 更新网关数据。配置属性:
10+
11+
```yaml
12+
shenyu:
13+
local:
14+
enabled: true
15+
sha512Key: 123456
16+
```
1017
1118
* 统一返回结果:
1219

i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin
5656

5757
```
5858
docker pull apache/shenyu-bootstrap
59-
docker run -d -p 9195:9195 --net shenyu apache/shenyu-bootstrap
59+
docker run -d -p 9195:9195 -e "shenyu.local.enabled=true" --net shenyu apache/shenyu-bootstrap
6060
```
6161

6262
### 路由设置

versioned_docs/version-2.5.0/developer/local-model.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ description: Local Model
66

77
## Description
88

9-
* Standalone environment, then use the local `API` to update the apache shenyu gateway data。
9+
* Standalone environment, then use the local `API` to update the apache shenyu gateway data。the yaml config:
10+
11+
```yaml
12+
shenyu:
13+
local:
14+
enabled: true
15+
sha512Key: 123456
16+
```
1017
1118
* Common result:
1219

versioned_docs/version-2.5.0/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin
5757

5858
```
5959
docker pull apache/shenyu-bootstrap
60-
docker run -d -p 9195:9195 --net shenyu apache/shenyu-bootstrap
60+
docker run -d -p 9195:9195 -e "shenyu.local.enabled=true" --net shenyu apache/shenyu-bootstrap
6161
```
6262

6363
### Set router

versioned_docs/version-2.5.1/developer/local-model.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ description: Local Model
66

77
## Description
88

9-
* Standalone environment, then use the local `API` to update the apache shenyu gateway data。
9+
* Standalone environment, then use the local `API` to update the apache shenyu gateway data. the yaml config:
10+
11+
```yaml
12+
shenyu:
13+
local:
14+
enabled: true
15+
sha512Key: 123456
16+
```
1017
1118
* Common result:
1219

versioned_docs/version-2.5.1/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Default password: **123456**
6161

6262
```
6363
docker pull apache/shenyu-bootstrap
64-
docker run -d -p 9195:9195 --net shenyu apache/shenyu-bootstrap
64+
docker run -d -p 9195:9195 -e "shenyu.local.enabled = true" --net shenyu apache/shenyu-bootstrap
6565
```
6666

6767
### Set router

0 commit comments

Comments
 (0)