fix emqx error (#376)

Signed-off-by: 607qwq <i@1l.fit>
This commit is contained in:
L 2023-09-07 16:37:57 +08:00 committed by GitHub
parent fb3e704d96
commit 865782309d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 8 deletions

View File

@ -3,7 +3,7 @@ additionalProperties:
- default: 18083
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelEn: Dashboard Port
labelZh: Dashboard 控制台端口
required: true
rule: paramPort
@ -11,7 +11,7 @@ additionalProperties:
- default: 1883
edit: true
envKey: EMQX_PORT_1883
labelEn: Port
labelEn: MQTT Port
labelZh: MQTT 协议端口
required: true
rule: paramPort
@ -19,16 +19,24 @@ additionalProperties:
- default: 8083
edit: true
envKey: EMQX_PORT_8083
labelEn: Port
labelEn: WebSocket Port
labelZh: WebSocket 端口
required: true
rule: paramPort
type: number
- default: 8081
- default: 8084
edit: true
envKey: EMQX_PORT_8081
labelEn: Port
labelZh: HTTP API 端口
envKey: EMQX_PORT_8084
labelEn: WebSocket SSL Port
labelZh: WebSocket SSL 端口
required: true
rule: paramPort
type: number
- default: 8883
edit: true
envKey: EMQX_PORT_8883
labelEn: MQTT SSL Port
labelZh: MQTT SSL 端口
required: true
rule: paramPort
type: number

View File

@ -11,7 +11,8 @@ services:
- ${PANEL_APP_PORT_HTTP}:18083
- ${EMQX_PORT_1883}:1883
- ${EMQX_PORT_8083}:8083
- ${EMQX_PORT_8081}:8081
- ${EMQX_PORT_8084}:8084
- ${EMQX_PORT_8883}:8883
volumes:
- ./data:/opt/emqx/data
- ./log:/opt/emqx/log