Running the RabbitMQ server

The first time that you run your container, a new random password will be set.To get the password, check the logs of the container by running:

docker logs <CONTAINER_ID>

You will see an output like the following:

========================================================================
You can now connect to this RabbitMQ server using, for example:
curl --user admin:5elsT6KtjrqV http://<host>:<port>/api/vhosts
Please remember to change the above password as soon as possible!
========================================================================

In this case, 5elsT6KtjrqV is the password set.You can then connect to RabbitMQ:

curl --user admin:5elsT6KtjrqV http://<host>:<port>/api/vhosts

Done!

Setting a specific password for the admin account

If you want to use a preset password instead of a randomly generated one, you canset the environment variable RABBITMQ_PASS to your specific password when running the container:

Importing a config from S3

You can define a config to import on startup (including exchanges, queues and users). This is a JSON document, and get be downloaded from the management UI. To trigger the download, specify the IMPORT_URI environment variable: