1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-22 13:19:35 +08:00

feat: Separate the configuration of Nacos GUI port and API port (#4141)

This commit is contained in:
qinkangdeid 2025-06-18 15:47:30 +08:00 committed by GitHub
parent 993adc0470
commit 0ebbfb1a48
3 changed files with 20 additions and 4 deletions

View File

@ -11,11 +11,19 @@ additionalProperties:
value: "true"
- label: 关闭
value: "false"
- default: 8848
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Nacos run port
labelZh: Nacos 运行端口
labelEn: Nacos GUI port
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
rule: paramPort
type: number

View File

@ -20,7 +20,8 @@ services:
- ./data/logs:/home/nacos/logs
- ./data/data:/home/nacos/data
ports:
- "${PANEL_APP_PORT_HTTP}:8848"
- "${PANEL_APP_PORT_HTTP}:8080"
- "${PANEL_APP_PORT_API_HTTP}:8848"
- "${PANEL_APP_PORT_COMMUNICATION}:9848"
labels:
createdBy: "Apps"

View File

@ -6,6 +6,13 @@
- 用户名:`nacos`
- 密码:`nacos`
### 如果是nacos3.0+版本
- 访问地址:`http://IP:8080/index.html`
- 用户名:`nacos`
- 密码首次打开会要求初始化管理员用户nacos的密码
## 参数调优
```shell