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.

Running

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

Ports

This image exposes the following ports to the docker host:

  • 5222
  • 5269

Volumes

  • /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.pid" -- 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

optional:

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

and of course your virtual host section.

Docker Pull Command
Owner
mgansler
Source Repository

Comments (0)