Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11726074
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
689 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/run-mq b/run-mq
new file mode 100755
index 0000000..1d8eccc
--- /dev/null
+++ b/run-mq
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# Launcher script for a nasqueron/rabbitmq Docker container
+#
+# Usage: ./run-mq blue-rabbit
+# This will create a RabbitMQ container, and a rabbit@blue-rabbit cluster.
+
+if [ $# -eq 1 ]; then
+ NAME=$1
+else
+ echo "Usage: $0 <name to give to the container>";
+ exit 1
+fi
+
+PORTS="-p 5672:5672 -p 25672:25672 -p 1883:1883 -p 8883:8883 -p 15672:15672 -p 15674:15674 -p 61613:61613 -p 4369:4369"
+VOLUMES="-v /data/$NAME/log:/data/log -v /data/$NAME/mnesia:/data/mnesia"
+
+docker run -dt $PORTS $VOLUMES --hostname $NAME --name $NAME nasqueron/rabbitmq
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Sep 19, 00:10 (2 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2991946
Default Alt Text
(689 B)
Attached To
Mode
rDRABBITMQ RabbitMQ Docker image
Attached
Detach File
Event Timeline
Log In to Comment