mirror of
https://port.numenaute.org/aleajactaest/bazar_alea.git
synced 2024-11-09 16:59:02 +00:00
16 lines
409 B
Bash
Executable file
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
|