mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 18:06:56 +08:00
chore: Update Kafka Port
This commit is contained in:
parent
e75f8426a7
commit
1f8295b48b
@ -1,7 +1,7 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 9092
|
||||
envKey: KAFKA_PORT
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: TCP 端口
|
||||
required: true
|
||||
|
@ -14,14 +14,14 @@ services:
|
||||
KAFKA_CFG_NODE_ID: 0
|
||||
KAFKA_CFG_PROCESS_ROLES: controller,broker
|
||||
KAFKA_CFG_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093
|
||||
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://${CONTAINER_NAME}:${KAFKA_PORT}
|
||||
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://${CONTAINER_NAME}:${PANEL_APP_PORT_HTTP}
|
||||
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
|
||||
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: 0@127.0.0.1:9093
|
||||
KAFKA_CFG_CONTROLLER_LISTENER_NAMES: CONTROLLER
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${KAFKA_PORT}:9092"
|
||||
- "${PANEL_APP_PORT_HTTP}:9092"
|
||||
image: bitnami/kafka:3.6.0
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
Loading…
Reference in New Issue
Block a user