Providing rabbitmq.conf in a docker-compose file gives “sed: cannot rename /etc/rabbitmq/sedMaHqMa: Device or resource busy”

前端 未结 3 729
猫巷女王i
猫巷女王i 2021-02-07 07:51

My docker-compose looks like this:

version: \'3.2\'
services:
  mq:
    hostname: ${HOST_NAME}
    ports:
      - \"5671:5671\"
      - \"5672:5672\"
      - \"1         


        
3条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 08:35

    I think you have to set username and password from environmental variable or from specific file use -f flag with - (dash) as the filename to read the configuration from stdin.which contains username and password.

提交回复
热议问题