Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Prosody in Docker

This Docker image with prosody is built ontop the basic Ubuntu image.
The community module repository of prosody is included.


docker run -d --name prosody -p 5222:5222 -p 5269:5269 <tag>


This image exposes the following ports to the docker host:

  • 5222
  • 5269


  • /etc/prosody/:
    • Configuration file prosody.cfg.lua
    • SSL Certificates for your virtual hosts
  • /var/lib/prosody:
    • this is where the users are stored

Configuration File

The configuration file prosody.cfg.lua needs to include the following lines:

pidfile = "/run/prosody/" -- prosody doesn't start when it can't write to the directory
deamonize = false;
log = {
    info = "*console"; -- change to debug for more information
    error = "*console";
plugin_paths = { "/usr/lib/prosody-modules" } -- allows to enable community plugins


modules_enabled = {
    "smacks";   -- XEP-0198: Stream Management
    "carbons";  -- XEP-0280: Message Carbons

and of course your virtual host section.

Docker Pull Command
Source Repository