From 74901ee51ffa74ded75822eb9f2a4a87f1ba28a5 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Wed, 26 Apr 2017 10:10:11 -0700 Subject: [PATCH] Update documentation for core image. --- core/README.md | 12 +++++++----- core/assets/run.sh | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/core/README.md b/core/README.md index 447250e..93d68ee 100644 --- a/core/README.md +++ b/core/README.md @@ -1,13 +1,15 @@ Mailman3 Core Docker Image ========================== -To run this container, you need a valid configuration at -`/opt/mailman/mailman.cfg` on your host. When you spawn off this container, you -must mount `/opt/mailman` to the container. Mailman's `var` directory will also -be stored here so that it can persist across different sessions and containers. +When you spawn off this container, you must mount `/opt/mailman` to the +container. Mailman's `var` directory will also be stored here so that it can +persist across different sessions and containers. Any configuration at +`/opt/mailman/mailman-extra.cfg` will be added to the mailman's default +generated confifguration (See below). It is not advised to run multiple mailman processes on the same host sharing the -same `/opt/mailman` directory as this will almost certainly be dangerous. +same `/opt/mailman` (`/opt/mailman/core` on the host) directory as this will +almost certainly be dangerous. Configuration diff --git a/core/assets/run.sh b/core/assets/run.sh index a486404..f8034dc 100755 --- a/core/assets/run.sh +++ b/core/assets/run.sh @@ -20,7 +20,7 @@ function wait_for_postgres () { # sleep 1 # done # >&2 echo "Postgres is up - continuing" - sleep 10 + sleep 5 # TODO: Just sleep and do not require postgres client for the image maybe. }