The purpose of this project is to have a way to quickly spin up a Prosody instance for client development.
echo "127.0.0.1 example.org" | sudo tee -a /etc/hosts
git clone git@github.com:SeveFP/prosody-development.git
cd prosody-development/
docker-compose up
BOSH is enabled by default to work locally.
Community modules are also available but need to be enabled individually.
Simply add the required modules in modules_enabled
and run docker-compose up --build
to have them enabled.
Two users are created after setting up the container that can be used straight away for testing:
User1 (admin)------------
address: alice@example.org
password: 1234
User2--------------------
address: bob@example.org
password: 1234
Settings for Conversejs
Replace the default value for bosh_service_url
with:
bosh_service_url: 'http://example.org:5280/http-bind/'