aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/ejabberd/add_users.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xterminaldweller.com/ejabberd/add_users.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/terminaldweller.com/ejabberd/add_users.sh b/terminaldweller.com/ejabberd/add_users.sh
new file mode 100755
index 0000000..5243730
--- /dev/null
+++ b/terminaldweller.com/ejabberd/add_users.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+EJABBERD=$(docker ps | grep ejabberd | awk '{print $1}')
+docker exec -it ${EJABBERD} bin/ejabberdctl register someuser1 jabber.terminaldweller.com passywo00rd # pragma: allowlist secret
+docker exec -it ${EJABBERD} bin/ejabberdctl register someuser2 jabber.terminaldweller.com passywo00rd # pragma: allowlist secret
+docker exec -it ${EJABBERD} bin/ejabberdctl register someuser3 jabber.terminaldweller.com passywo00rd # pragma: allowlist secret