... | ... | @@ -25,6 +25,11 @@ To update: |
|
|
## Deploying
|
|
|
|
|
|
First make sure to create a production.yml file corresponding to your needs, see [the docker-compose docs](https://docs.docker.com/compose/).
|
|
|
Change the admin password *before building*.
|
|
|
Change the number of cores used by the queues based on your config, for example if you have 8 cores, leaving 2 for general http and sql:
|
|
|
|
|
|
$ export CELERY_MAIN_CORES=4 # defaults to 3
|
|
|
$ export CELERY_LOW_CORES=2 # defaults to 2
|
|
|
|
|
|
Update the code:
|
|
|
|
... | ... | |