GithubHelp home page GithubHelp logo

mattbetzel / tutum-docker-rabbitmq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tutumcloud/rabbitmq

0.0 1.0 0.0 237 KB

Docker image to run an out-of-the-box RabbitMQ server

Home Page: http://tutum.co/

License: Apache License 2.0

tutum-docker-rabbitmq's Introduction

tutum-docker-rabbitmq

Base docker image to run a RabbitMQ server

Usage

To create the image tutum/rabbitmq, execute the following command on the tutum-rabbitmq folder:

sudo docker build -t tutum/rabbitmq .

Running the RabbitMQ server

Run the following command to start rabbitmq:

docker run -d -p 5672:5672 -p 15672:15672 tutum/rabbitmq

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:

    rabbitmqadmin -u admin -p 5elsT6KtjrqV -H <host> -P <port> list 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:

rabbitmqadmin -u admin -p 5elsT6KtjrqV -P 15672 list 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 can set the environment variable RABBITMQ_PASS to your specific password when running the container:

docker run -d -p 5672:5672 -p 15672:15672 -e RABBITMQ_PASS="mypass" tutum/rabbitmq

You can now test your new admin password:

rabbitmqadmin -u admin -p mypass -P 15672 list vhosts

tutum-docker-rabbitmq's People

Contributors

fermayo avatar mminder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.