Skip to content

use serverinfo for docker healthcheck #676

Description

@cguentherTUChemnitz

Current version of nextcloud presents the serverinfo path to check server status using external tools.
http://localhost/ocs/v2.php/apps/serverinfo/api/v1/info

I think such scripts are the perfect point to be used in the docker healthcheck system.

It would be nice to access this page from localhost without any credentails to be able to provide this as a generic healthcheck statement. Additionally i am not an expert in tools like curl. So how are we able to compare the reported message or status to equal "ok"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions