-
-
Notifications
You must be signed in to change notification settings - Fork 138
Django - container healthchecks #139
Copy link
Copy link
Closed
Labels
area: backendRelated to internal functionality and utilitiesRelated to internal functionality and utilitiesgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
area: backendRelated to internal functionality and utilitiesRelated to internal functionality and utilitiesgood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.
Originally posted by Johannes Christ:
In case something breaks that's causing the server to become irresponsive, we likely won't notice because uWSGI will keep running.
However, we could use Docker healthchecks to issue requests to the server on various endpoints (e.g. regular HTML endpoints, endpoints interacting with the database and so forth). This should ideally be written in Python (since that comes preinstalled in the container) and be dependency-free, since it runs in the production container.
This is a good first issue - if you have any questions or want more information, don't be afraid to ask!