Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ The main benifit with this approach is that you can use [any version](https://hu
## Install

```
> git clone https://github.com/pardahlman/docker-rabbitmq-cluster.git
> git clone https://github.com/ameizi/docker-rabbitmq-cluster.git
> cd docker-rabbitmq-cluster
> docker-compose up
```

Most things will be how you expect:

* The default username and password are `guest`/`guest`
* The broker accepts connections on `localhost:5672`
* The Default username and password are `guest`/`guest`
* The Broker accepts connections on `localhost:5672`
* The Management interface is found at `localhost:15672`
* The HAProxy interface is found at `localhost:1936`

## Customize

Expand Down
5 changes: 5 additions & 0 deletions cluster-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ set -e

# Do the cluster dance
rabbitmqctl stop_app

# Must have this line, otherwise the node will be blocked to join cluster again.
rabbitmqctl reset

# Join cluster
rabbitmqctl join_cluster rabbit@rabbitmq1

# Stop the entire RMQ server. This is done so that we
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ services:
ports:
- 15672:15672
- 5672:5672
- 1936:1936