How to set no-ack for RabbitMQ with docker?

I’m using docker-compose and I have a RabbitMQ container that acts as a federation. It was and still is connected to the federation upstreams and handled requests nicely until it got stuck because of the default Prefetch that is set to 10 on it’s virtual hosts:

enter image description here

  • Rails - Enabling Nginx with https inside a Docker container using Phusion Passenger
  • Docker EXPOSE a port only to Host
  • Docker Registry 2.0 - how to delete unused images?
  • Builder Docker image resulting in running container
  • Docker doesn't seem to be mapping ports
  • Create Docker for Wso2 DAS
  • The federation upstreams are configured with no-ack but still it still seems that the virtual hosts has this set to 10 for each channel by default?

    How do I set docker to either set the Prefetch for something huge or set it without a limit?.

    This is the docker configuration of the RabbitMQ:

    version: '2.0'
    services:
      ubuntu:
        image: ubuntu
        volumes:
          - box:/box
      cache:
        image: redis:3.0
      rabbitmq:
        image: rabbitmq:3-management
        volumes:
          - ${DATA}/rabbitmq:/var/lib/rabbitmq
        ports:
          - "15672:15672"
          - "5672:5672"
    

  • How to set image name in Dockerfile?
  • Openshift : pods not being deleted
  • Docker: How to run two web apps(app1,app2) with same port (say 80) in docker
  • Docker Keep Exiting (Deploying MS SQL on MAC osx)
  • “network not manually attachable” when running one-off command against docker swarm network
  • Mount a volume in docker using nodejs on windows
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.