initial commit

This commit is contained in:
shaula 2016-10-18 20:20:59 +00:00
commit 16e9418632
12 changed files with 402 additions and 0 deletions

13
docker-entrypoint.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
if [[ "$1" != "prosody" ]]; then
exec prosodyctl $*
exit 0;
fi
if [ "$LOCAL" -a "$PASSWORD" -a "$DOMAIN" ] ; then
prosodyctl register $LOCAL $DOMAIN $PASSWORD
fi
exec "$@"