feat: Separate the configuration of Nacos GUI port and API port (#4141)
This commit is contained in:
parent
993adc0470
commit
0ebbfb1a48
|
|
@ -11,11 +11,19 @@ additionalProperties:
|
||||||
value: "true"
|
value: "true"
|
||||||
- label: 关闭
|
- label: 关闭
|
||||||
value: "false"
|
value: "false"
|
||||||
- default: 8848
|
- default: 8080
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
labelEn: Nacos run port
|
labelEn: Nacos GUI port
|
||||||
labelZh: Nacos 运行端口
|
labelZh: Nacos 界面 访问端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: 8848
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_API_HTTP
|
||||||
|
labelEn: Nacos api port
|
||||||
|
labelZh: Nacos API端口
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@ services:
|
||||||
- ./data/logs:/home/nacos/logs
|
- ./data/logs:/home/nacos/logs
|
||||||
- ./data/data:/home/nacos/data
|
- ./data/data:/home/nacos/data
|
||||||
ports:
|
ports:
|
||||||
- "${PANEL_APP_PORT_HTTP}:8848"
|
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||||
|
- "${PANEL_APP_PORT_API_HTTP}:8848"
|
||||||
- "${PANEL_APP_PORT_COMMUNICATION}:9848"
|
- "${PANEL_APP_PORT_COMMUNICATION}:9848"
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,13 @@
|
||||||
- 用户名:`nacos`
|
- 用户名:`nacos`
|
||||||
- 密码:`nacos`
|
- 密码:`nacos`
|
||||||
|
|
||||||
|
|
||||||
|
### 如果是nacos3.0+版本
|
||||||
|
|
||||||
|
- 访问地址:`http://IP:8080/index.html`
|
||||||
|
- 用户名:`nacos`
|
||||||
|
- 密码:首次打开会要求初始化管理员用户nacos的密码
|
||||||
|
|
||||||
## 参数调优
|
## 参数调优
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue