aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-11-07 19:27:34 +0100
committerBadlop <badlop@process-one.net>2022-11-07 22:19:22 +0100
commit662d9a0ed034732a916d6014ca7eb8b1d239f586 (patch)
treee44caeb2a8d2a5b2df1ea7a9ced8c6cad4fc2115
parentAdd link in README to the ProcessOne Downloads page (diff)
Container: Raise sections levels to improve legibility in GitHub web TOC
-rw-r--r--CONTAINER.md32
1 files changed, 16 insertions, 16 deletions
diff --git a/CONTAINER.md b/CONTAINER.md
index d42a0ae6e..884dba174 100644
--- a/CONTAINER.md
+++ b/CONTAINER.md
@@ -34,9 +34,9 @@ If you are using a Windows operating system, check the tutorials mentioned in
Start ejabberd
---------------
+==============
-### With default configuration
+## With default configuration
Start ejabberd in a new container:
@@ -60,7 +60,7 @@ docker restart ejabberd
```
-### Start with Erlang console attached
+## Start with Erlang console attached
Start ejabberd with an Erlang console attached using the `live` command:
@@ -71,7 +71,7 @@ docker run --name ejabberd -it -p 5222:5222 ghcr.io/processone/ejabberd live
That uses the default configuration file and XMPP domain "localhost".
-### Start with your configuration and database
+## Start with your configuration and database
Pass a configuration file as a volume
and share the local directory to store database:
@@ -93,9 +93,9 @@ and the volumes you mount must grant proper rights to that account.
Next steps
-----------
+==========
-### Register the administrator account
+## Register the administrator account
The default ejabberd configuration does not grant admin privileges
to any account,
@@ -112,7 +112,7 @@ Then edit conf/ejabberd.yml and add the ACL as explained in
[ejabberd Docs: Administration Account](https://docs.ejabberd.im/admin/installation/#administration-account)
-### Check ejabberd log files
+## Check ejabberd log files
Check the content of the log files inside the container,
even if you do not put it on a shared persistent drive:
@@ -122,7 +122,7 @@ docker exec -it ejabberd tail -f logs/ejabberd.log
```
-### Inspect the container files
+## Inspect the container files
The container uses Alpine Linux. Start a shell inside the container:
@@ -131,7 +131,7 @@ docker exec -it ejabberd sh
```
-### Open ejabberd debug console
+## Open ejabberd debug console
Open an interactive debug Erlang console attached to a running ejabberd in a running container:
@@ -140,7 +140,7 @@ docker exec -it ejabberd ejabberdctl debug
```
-### CAPTCHA
+## CAPTCHA
ejabberd includes two example CAPTCHA scripts.
If you want to use any of them, first install some additional required libraries:
@@ -167,9 +167,9 @@ docker exec ejabberd ejabberdctl reload_config
Advanced Container Configuration
---------------------------------
+================================
-### Ports
+## Ports
This container image exposes the ports:
@@ -182,7 +182,7 @@ This container image exposes the ports:
- `5210`: Erlang connectivity when `ERL_DIST_PORT` is set, alternative to EPMD
-### Volumes
+## Volumes
ejabberd produces two types of data: log files and database spool files (Mnesia).
This is the kind of data you probably want to store on a persistent or local drive (at least the database).
@@ -203,7 +203,7 @@ It's possible to install additional ejabberd modules using volumes,
explains how to install an additional module using docker-compose.
-### Commands on start
+## Commands on start
The ejabberdctl script reads the `CTL_ON_CREATE` environment variable
the first time the docker container is started,
@@ -221,7 +221,7 @@ Example usage (see full example [docker-compose.yml](https://github.com/processo
```
-### Clustering
+## Clustering
When setting several containers to form a
[cluster of ejabberd nodes](https://docs.ejabberd.im/admin/guide/clustering/),
@@ -260,7 +260,7 @@ Example using environment variables (see full example [docker-compose.yml](https
Generating a Container Image
-----------------------------
+============================
This container image includes ejabberd as a standalone OTP release built using Elixir.