Skip to content

Commit

Permalink
Update README for prod-oriented Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lunkwill42 authored and hmpf committed Feb 13, 2024
1 parent 289cd93 commit eb7fa00
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb7fa00

Please sign in to comment.