aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/ejabberd/add_users.sh
blob: 5243730476698a79c2ded91d59bccacf33be4701 (plain) (blame)
1
2
3
4
5
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