refactor: select kafka service for redpanda-console (#877)

This commit is contained in:
刘瑞斌 2024-02-01 13:54:01 +08:00 committed by GitHub
parent d48000805a
commit 6ebaf4ad61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -8,9 +8,9 @@ additionalProperties:
rule: paramPort
type: number
- default:
envKey: KAFKA_BROKERS
labelEn: Kafka Brokers
labelZh: Kafka 地址
envKey: KAFKA_HOST
labelEn: Kafka Service
labelZh: Kafka 服务
required: true
rule: paramExtUrl
type: text
key: kafka
type: service

View File

@ -7,7 +7,7 @@ services:
networks:
- 1panel-network
environment:
KAFKA_BROKERS: ${KAFKA_BROKERS}
KAFKA_BROKERS: ${KAFKA_HOST}:9092
ports:
- ${PANEL_APP_PORT_HTTP}:8080
labels: