summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/rabbitmq
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard/rabbitmq')
-rw-r--r--pharos-dashboard/rabbitmq/Dockerfile4
-rwxr-xr-xpharos-dashboard/rabbitmq/init.sh10
2 files changed, 0 insertions, 14 deletions
diff --git a/pharos-dashboard/rabbitmq/Dockerfile b/pharos-dashboard/rabbitmq/Dockerfile
deleted file mode 100644
index 71162a4..0000000
--- a/pharos-dashboard/rabbitmq/Dockerfile
+++ /dev/null
@@ -1,4 +0,0 @@
-FROM rabbitmq
-
-ADD init.sh /init.sh
-CMD ["/init.sh"] \ No newline at end of file
diff --git a/pharos-dashboard/rabbitmq/init.sh b/pharos-dashboard/rabbitmq/init.sh
deleted file mode 100755
index 9d04dd1..0000000
--- a/pharos-dashboard/rabbitmq/init.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# Create Rabbitmq user
-( sleep 10 ; \
-rabbitmqctl add_user $RABBITMQ_USER $RABBITMQ_PASSWORD 2>/dev/null ; \
-rabbitmqctl set_user_tags $RABBITMQ_USER administrator ; \
-rabbitmqctl set_permissions -p / $RABBITMQ_USER ".*" ".*" ".*" ; \
-echo "*** User '$RABBITMQ_USER' with password '$RABBITMQ_PASSWORD' completed. ***") &
-
-rabbitmq-server $@