This docker images is build from the Prosody source.
trunk
,latest
(trunk/Dockerfile)0.10-dev
(0.10/Dockerfile)0.9-dev
,0.9.12
,stable
(0.9/Dockerfile)
Docker image based on Ubuntu 16.04 LTS.
docker run -d --name prosody -p 5222:5222 -p 5269:5269 -p 5280:5280 -p 5281:5281 fankserver/prosody
The images exposes the following ports
- 80: HTTP
- 443: HTTPS
- 5222: c2s
- 5269: s2s
- 5347: XMPP component
- 5280: HTTP BOSH
- 5281: HTTPS BOSH
- /etc/prosody:
- Generated prosody configuration file
- /etc/prosody/conf.d:
- Custom prosody configuration file(s)
- Preset:
- /etc/prosody/certs:
- SSL certificates
- /var/lib/prosody:
- Prosody data folder
- /var/log/prosody:
- Log files for prosody
- Note: logfiles are disabled by default, because they only log to stdout & stderr for docker.
- /usr/src/prosody:
- Prosody source code
- Note: will only be used for the build process and for debugging purpose.
- /usr/src/prosody_modules:
- Community modules source code
- Note: this folder will be included by
prosody.cfg.lua
so you only need to include them in themodules_enabled
.
By default, the prosody.cfg.lua should be not overwritten, if you want to overwrite it here is the original file.
There is a /etc/prosody/conf.d/
folder where *.lua
can be added, which will be included by prosody and configuration can be added and changed, but not extended from those files!