Process management
Stop, start and restart the website.
Use dokku to stop, start and restart the docker containers that host the website.
To restart the website:
dokku ps:restart APP
To stop the website:
dokku ps:stop APP
To start the website after stopping it:
dokku ps:start APP
Background tasks
Background tasks (such as updating the search index and ingesting content from remote sources) are run in a separate docker container.
Normally you only need one or two background task runners. If there are many tasks, you can increase the number of task runners to work through the tasks faster.
The number of background task runners does not impact the number of threads or processes serving the website.
For example, to scale up to 3 background task runners, use:
dokku ps:scale APP tasks=3
To scale back down to 1, use:
dokku ps:scale APP tasks=1
Last updated