Skip to content

Django - container healthchecks #139

@pydis-bot

Description

@pydis-bot

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: backendRelated to internal functionality and utilitiesgood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions