其他分享
首页 > 其他分享> > Dcoker-compose 部署KAFKA web

Dcoker-compose 部署KAFKA web

作者:互联网

cat > docker-compose.yaml << EOF
version: "3.1"
services:
  kafdrop:
    container_name: kafdrop
    image: obsidiandynamics/kafdrop:3.27.0
    restart: always
    ports:
      - 9000:9000
    environment:
      ## kafka集群地址
      KAFKA_BROKERCONNECT: "172.16.111.162:9092,172.16.111.163:9092"
      JVM_OPTS: "-Xms16M -Xmx48M -Xss180K -XX:-TieredCompilation -XX:+UseStringDeduplication -noverify"

EOF


docker-compoes up -d

标签:web,compose,cat,yaml,Dcoker,docker
来源: https://www.cnblogs.com/shunzi115/p/16319731.html