From eb7fa00c6c0577a28ae5f6266816870c72fad0c5 Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Thu, 21 Sep 2023 12:03:11 +0200 Subject: [PATCH] Update README for prod-oriented Dockerfile --- docker/README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 6663ba721..dd4dfdffc 100644 --- a/docker/README.md +++ b/docker/README.md @@ -18,7 +18,19 @@ Or, from the top level directory: docker build -t argus -f docker/Dockerfile . ``` -## Configuration of the running container +## Services + +While this image provides the necessary environment for the backend processes, +it defaults to run only the API server itself. In addition to an API +container, a second container is needed to process notifications +asynchronously. The second container needs to run from this same image, but +you should replace the container command with `django-admin qcluster`, to run +the "qcluster" service. + +The "qcluster" command comes from Django Q2, and is used to process a message +queue of tasks to complete in the background. + +## Configuration of the running containers This image runs with default production settings, with a few tweaks from [dockersettings.py](dockersettings.py). This means that the most useful