Skip to content

Commit 9a0fd3c

Browse files
lunkwill42hmpf
authored andcommitted
Update README for prod-oriented Dockerfile
1 parent cb0f01b commit 9a0fd3c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docker/README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,19 @@ Or, from the top level directory:
1818
docker build -t argus -f docker/Dockerfile .
1919
```
2020

21-
## Configuration of the running container
21+
## Services
22+
23+
While this image provides the necessary environment for the backend processes,
24+
it defaults to run only the API server itself. In addition to an API
25+
container, a second container is needed to process notifications
26+
asynchronously. The second container needs to run from this same image, but
27+
you should replace the container command with `django-admin qcluster`, to run
28+
the "qcluster" service.
29+
30+
The "qcluster" command comes from Django Q2, and is used to process a message
31+
queue of tasks to complete in the background.
32+
33+
## Configuration of the running containers
2234

2335
This image runs with default production settings, with a few tweaks from
2436
[dockersettings.py](dockersettings.py). This means that the most useful

0 commit comments

Comments
 (0)