docker(rabbitmq,redis.zookeeper)




rabbit:
  container_name: rabbitmq
  image: 192.168.184.97:5000/rabbitmq:3-management
  environment:
    - RABBITMQ_DEFAULT_USER=rabbit
    - RABBITMQ_DEFAULT_PASS=mq
    - RABBITMQ_DEFAULT_VHOST=my_vhost
  ports:
    - "4369:4369"
    - "5671:5671"
    - "5672:5672"
    - "15672:15672"




redis:
  container_name: redis
  image: 192.168.184.97:5000/redis:latest
  ports:
    - "16379:6379"
  expose:
    - "6379"




zookeeper:
  container_name: zookeeper
  image: 192.168.184.97:5000/zookeeper:latest
  ports:
    - "12181:2181"
  expose:
    - "2181"





你可能感兴趣的:(docker)