From 7edf16790dcba54f8043e5700cc28e929a1afc45 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 12 Nov 2018 16:34:59 +0100 Subject: [PATCH 1/4] Dockerfile: Spell verb *set up* with space --- ecs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/Dockerfile b/ecs/Dockerfile index 3393a9d..e8978a9 100644 --- a/ecs/Dockerfile +++ b/ecs/Dockerfile @@ -71,7 +71,7 @@ RUN chmod 755 bin/ejabberdctl bin/ejabberdapi bin/erl COPY --chown=ejabberd:ejabberd conf conf/ ADD --chown=ejabberd:ejabberd https://download.process-one.net/cacert.pem conf/cacert.pem -# Setup runtime environment +# Set up runtime environment USER ejabberd VOLUME ["$HOME/database","$HOME/conf","$HOME/logs"] EXPOSE 5222 5269 5443 From b26f82bb98669495f592cc0f78c8ecccebfefcea Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 16 Nov 2018 16:34:53 +0100 Subject: [PATCH 2/4] README: Spell *back up* with space --- ecs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/README.md b/ecs/README.md index c1d802e..ae28753 100644 --- a/ecs/README.md +++ b/ecs/README.md @@ -103,7 +103,7 @@ 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: - /home/ejabberd/logs/: Directory containing log files -- /home/ejabberd/database/: Directory containing Mnesia database. You should backup or export the content of the directory to persistent storage (host storage, local storage, any storage plugin) +- /home/ejabberd/database/: Directory containing Mnesia database. You should back up or export the content of the directory to persistent storage (host storage, local storage, any storage plugin) - /home/ejabberd/conf/: Directory containing configuration and certificates All these files are owned by ejabberd user inside the container. Corresponding From 2adf3cc2012e9612339a346f0e1f58012e694f26 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 19 Nov 2018 18:13:36 +0100 Subject: [PATCH 3/4] ecs/README: Fix typo in *any* --- ecs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/README.md b/ecs/README.md index ae28753..39ddd16 100644 --- a/ecs/README.md +++ b/ecs/README.md @@ -79,7 +79,7 @@ docker exec -it ejabberd bin/ejabberdctl debug ### Execute ejabberdctl command -You can run anu ejabberdctl command inside running container. Example: +You can run any ejabberdctl command inside running container. Example: ```bash docker exec -it ejabberd bin/ejabberdctl status From 0105ece4b39e5db059cc428b1015f300541bfb62 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 19 Nov 2018 18:14:52 +0100 Subject: [PATCH 4/4] ecs/README: Use plural in *two types* --- ecs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/README.md b/ecs/README.md index 39ddd16..c0dd3c8 100644 --- a/ecs/README.md +++ b/ecs/README.md @@ -97,7 +97,7 @@ ejabberd base Docker image exposes the following port: ### Volumes -ejabberd produces two type of data: log files and database (Mnesia). +ejabberd produces two types of data: log files and database (Mnesia). This is the kind of data you probably want to store on a persistent or local drive (at least the database). Here are the volume you may want to map: