We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the health check of Nextcloudapp(service), then apply the restart: on-failure
Two options,
healthcheck: test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1 interval: 10s timeout: 5s retries: 10
or
test: "SCRIPT_NAME=/var/www/html/status.php SCRIPT_FILENAME=/var/www/html/status.php REQUEST_METHOD=GET /usr/bin/cgi-fcgi -connect /var/run/php-fpm/php-fpm.sock / | grep '\"installed\":true' | grep '\"maintenance\":false' | grep '\"needsDbUpgrade\":false' || exit 1"
Reference, nextcloud/docker#676
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Improve the health check of Nextcloudapp(service), then apply the restart: on-failure
Two options,
healthcheck:
test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1
interval: 10s
timeout: 5s
retries: 10
or
Reference,
nextcloud/docker#676
The text was updated successfully, but these errors were encountered: