Public | Automated Build

Last pushed: 2 days ago
Short Description
Source build prosody docker
Full Description

Prosody

This docker images is build from the Prosody source.

Supported tags and respective Dockerfile links

Running

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

Ports

The images exposes the following ports

  • 80: HTTP
  • 443: HTTPS
  • 5222: c2s
  • 5269: s2s
  • 5347: XMPP component
  • 5280: HTTP BOSH
  • 5281: HTTPS BOSH

Folders

  • /etc/prosody:
    • Generated prosody configuration file
  • /etc/prosody/conf.d:
  • /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 the modules_enabled.

Configuration

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!

Examples

Docker Pull Command
Owner
fankserver
Source Repository