LII Editors Guide
English
English
  • Judgments
    • Upload a judgment
    • Overturned and upheld
    • Delete a judgment
    • Replace a source file
    • Add multiple case numbers
    • Attach files
    • Add a judge
    • Judgments guide
      • Principles of law publication
      • Collection Development Principles
      • Case naming guidelines
      • Citation
        • Introduction to the Medium Neutral Citation
        • Construction of the MNC
        • Case naming guidelines
        • Court Designators for courts in the GhaLII network
      • Paragraph numbering
  • User management
    • How to reset your password
    • Add users
      • Add multiple users
    • Assigning Permissions
    • Delete users
  • MANAGING DOCUMENTS
    • Bills
    • Journals
    • Unpublish/hide a document
    • Restricted Content
  • Site Admin
    • Courts
    • Matter Types
    • Articles (blog posts)
  • System management
    • System architecture
    • Logs
    • Process management
    • Configure nginx
    • Renew SSL certificate
    • Block an IP address
Powered by GitBook
On this page
  1. System management

Process management

Stop, start and restart the website.

PreviousLogsNextConfigure nginx

Last updated 7 months ago

Use dokku to stop, start and restart the docker containers that host the website.

Read more about .

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
Dokku Process Management