The purpose of this project is to provide an XMPP endpoint for integration tests of services that require a XEP-0114 connection.
I recommend using this alongside Docker compose to test some service connecting to XMPP Mock.
For example, below is a sample docker-compose.yml
that builds and starts a service named myservice connecting to an instance of xmppmock.
version: "2"
services:
myservice:
build: .
links:
- xmppmock:xmppmock.local
ports:
- 80:80
xmppmock:
image: jsantiagoh/xmppmock
environment:
- COMPONENT_PORT=11221
- COMPONENT_PASS=pass11221
ports:
- 3000:3000