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"?
Current version of nextcloud presents the serverinfo path to check server status using external tools.
http://localhost/ocs/v2.php/apps/serverinfo/api/v1/infoI 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"?