https://github.com/sepppenner/examplerabbitmqforrasbiandocker
ExampleRabbitMQForRasbianDocker is an example how to use and configure RabbitMQ on Docker for an ARM architecture like the Raspberry Pi. The project was tested on a Raspberry Pi 3 Model B.
https://github.com/sepppenner/examplerabbitmqforrasbiandocker
Last synced: 5 months ago
JSON representation
ExampleRabbitMQForRasbianDocker is an example how to use and configure RabbitMQ on Docker for an ARM architecture like the Raspberry Pi. The project was tested on a Raspberry Pi 3 Model B.
- Host: GitHub
- URL: https://github.com/sepppenner/examplerabbitmqforrasbiandocker
- Owner: SeppPenner
- License: mit
- Created: 2018-09-26T10:36:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-04T15:25:38.000Z (about 6 years ago)
- Last Synced: 2025-05-29T20:48:04.449Z (about 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: License.txt
Awesome Lists containing this project
README
# ExampleRabbitMQForRasbianDocker
ExampleRabbitMQForRasbianDocker is an example how to use and configure RabbitMQ on Docker for an ARM architecture like the Raspberry Pi.
The project was tested on a Raspberry Pi 3 Model B.
[](https://ci.appveyor.com/project/SeppPenner/examplerabbitmqforrasbiandocker)
[](https://github.com/SeppPenner/ExampleRabbitMQForRasbianDocker/issues)
[](https://github.com/SeppPenner/ExampleRabbitMQForRasbianDocker/network)
[](https://github.com/SeppPenner/ExampleRabbitMQForRasbianDocker/stargazers)
[](https://raw.githubusercontent.com/SeppPenner/ExampleRabbitMQForRasbianDocker/master/License.txt)
## How to use this project:
1. Clone the project to a location with git (or download the zip folder).
2. Unzip the folder (if neccessary) and cd into the folder.
3. Build the container.
```bash
docker build . -f Dockerfile -t rabbitmq
```
or simply run
```bash
build.sh
```
4. Run the container.
```bash
docker run -d \
--restart always \
--name rabbitmq \
-p 1883:1883 \
-p 15671:15671 \
-p 15672:15672 \
-p 15675:15675 \
-p 15670:15670 \
rabbitmq
```
or simply run
```bash
start.sh
```
## Usernames/ passwords to be used to publish/ subscribe:
* pi/IoT
* mqtt/IoT
These passwords can be changed in the `definitions.json` file. To change the passwords follow: https://stackoverflow.com/questions/41306350/how-to-generate-password-hash-for-rabbitmq-management-http-api
Of course, you can adjust the usernames in this file, too.
Change history
--------------
See the [Changelog](https://github.com/SeppPenner/ExampleRabbitMQForRasbianDocker/blob/master/Changelog.md).