bazar_alea/start-bazar-fake-xmpp-server.sh
2023-11-05 15:54:21 +01:00

16 lines
409 B
Bash
Executable file

#!/bin/bash
declare WORKDIR="$(dirname $(readlink -f $0))"
declare OPENFIREDIR="$WORKDIR/.xmpp"
echo "WORKDIR:$WORKDIR"
echo "OPENFIREDIR:$OPENFIREDIR"
docker pull sameersbn/openfire:3.10.3-19
mkdir -p $OPENFIREDIR
docker run --name openfire \
--publish 9090:9090 --publish 5222:5222 --publish 7777:7777 \
--volume $OPENFIREDIR:/var/lib/openfire \
sameersbn/openfire:3.10.3-19
docker start openfire