@ -35,8 +59,7 @@ ejabberd base Docker image exposes the following port:
- 5222: This is the default XMPP port for clients.
- 5222: This is the default XMPP port for clients.
- 5280: This is the port for admin interface, API, Websockets and XMPP BOSH.
- 5280: This is the port for admin interface, API, Websockets and XMPP BOSH.
- 5269: Optional. This is the port for XMPP federation. Only needed if you want
- 5269: Optional. This is the port for XMPP federation. Only needed if you want to communicate with users on other servers.
to communicate with users on other servers.
### Volumes
### Volumes
@ -46,21 +69,22 @@ This is the kind of data you probably want to store on a persistent or local dri
Here are the volume you may want to map:
Here are the volume you may want to map:
- /home/p1/log/: Directory containing log files
- /home/p1/log/: Directory containing log files
- /home/p1/db/: Directory containing Mnesia database. You should backup or
- /home/p1/db/: Directory containing Mnesia database. You should backup or export the content of the directory to persistent storage (host storage, local storage, any storage plugin)
export the content of the directory to persistent storage (host storage, local storage, any storage plugin)
## Generating ejabberd release
## Generating ejabberd release
### Configuration
### Configuration
Configuration of ejabberd release is customized with:
Image is build by embedding an ejabberd Erlang/OTP standalone release in the image.
The configuration of ejabberd Erlang/OTP release is customized with:
- rel/config.exs: Customize ejabberd release
- rel/config.exs: Customize ejabberd release
- rel/dev.exs: ejabberd environment configuration for development release
- rel/dev.exs: ejabberd environment configuration for development release
- rel/docker.exs: ejabberd environment configuration for production Docker release
- rel/docker.exs: ejabberd environment configuration for production Docker release
- ejabberd.yml: ejabberd default config file
- ejabberd.yml: ejabberd default config file
Run the build script to generate ejabberd ecs base image from ejabberd master on Github:
Run the build script to generate ejabberd Community Server base image from ejabberd master on Github: