SeveFP / prosody-development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prosody docker setup

Rationale

The purpose of this project is to have a way to quickly spin up a Prosody instance for client development.

Setting up

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.

Connecting from an XMPP client

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/'

About


Languages

Language:Lua 90.1%Language:Shell 6.5%Language:Dockerfile 3.4%