docker安装kafka-manager

docker pull sheepkiller/kafka-manager

 

vi docker-compose.yml

version: '2'
services:
  kafka-manager:
    image: sheepkiller/kafka-manager
    environment:
      ZK_HOSTS: 172.16.252.128:2181,172.16.252.129:2181,172.16.252.130:2181
      APPLICATION_SECRET: "letmein"
    ports:
      - "39000:9000"
    expose:
      - "9000"

 

docker-compose up -d

 

打开浏览器访问:

http://172.16.252.128:39000/

posted on 2021-05-10 13:19  柴米油盐酱醋  阅读(645)  评论(0编辑  收藏  举报

导航