background projection that recalculates statistics for consents.
added compose service worker with installed supervisord that runs the projection in the background.
new makefile commands
Makefile commands behaviour:
make start - starts app, db, redis (no worker)
make start-worker - starts worker
make stop - stops everything
make stop-worker - stops worker only
make down - drops everything
(command make down-worker would not make sense as it would fail to remove the common network).
worker
with installedsupervisord
that runs the projection in the background.Makefile commands behaviour:
make start
- starts app, db, redis (no worker)make start-worker
- starts workermake stop
- stops everythingmake stop-worker
- stops worker onlymake down
- drops everything(command
make down-worker
would not make sense as it would fail to remove the common network).