docker__kafkaui_0">docker 部署 kafka-ui
docker run -p 8080 \--name kafka-ui \-e KAFKA_CLUSTERS_0_NAME=kafka \-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=localhost:9092 \-e TZ=Asia/Shanghai \-e LANG=C.UTF-8 \-e SERVER_SERVLET_CONTEXT_PATH="/" \-e AUTH_TYPE="LOGIN_FORM" \-e SPRING_SECURITY_USER_NAME=admin \-e SPRING_SECURITY_USER_PASSWORD="admin@123" \-d provectuslabs/kafka-ui:latest
这里设置登录页面,加强登录密码验证
-e AUTH_TYPE="LOGIN_FORM" \-e SPRING_SECURITY_USER_NAME=admin \-e SPRING_SECURITY_USER_PASSWORD="admin@123" \