-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4cd42ef
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.sw* | ||
*.un* | ||
*.log | ||
.vagrant* | ||
*.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM ubuntu:12.04 | ||
MAINTAINER Arcus "http://arcus.io" | ||
RUN echo "deb http://archive.ubuntu.com/ubuntu lucid main universe multiverse" > /etc/apt/sources.list | ||
RUN apt-get update | ||
RUN apt-get install -y wget | ||
RUN wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.5/rabbitmq-server_3.1.5-1_all.deb -O /tmp/pkg.deb | ||
RUN RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive dpkg -i /tmp/pkg.deb ; exit 0 | ||
RUN RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive apt-get -f -y install | ||
RUN rabbitmq-plugins enable rabbitmq_management | ||
|
||
ADD run.sh /usr/local/bin/run | ||
RUN chmod +x /usr/local/bin/run | ||
|
||
EXPOSE 5672 | ||
EXPOSE 15672 | ||
CMD ["/usr/local/bin/run"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# RabbitMQ | ||
|
||
RabbitMQ 3.1.5 | ||
|
||
|
||
* `docker build -t rabbitmq .` | ||
* `docker run rabbitmq` | ||
|
||
Ports | ||
|
||
* 5672 (rabbitmq) | ||
* 15672 (rabbitmq admin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
cat << EOF > /etc/hosts | ||
127.0.0.1 localhost $HOSTNAME | ||
::1 ip6-localhost ip6-loopback | ||
fe00::0 ip6-localnet | ||
ff00::0 ip6-mcastprefix | ||
ff02::1 ip6-allnodes | ||
ff02::2 ip6-allrouters | ||
ff02::3 ip6-allhosts | ||
EOF | ||
|
||
rm -rf /var/lib/mnesia/* | ||
rabbitmq-server start |