diff --git a/docker-compose.yml b/docker-compose.yml index 5d7c9a5..8499282 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -84,7 +84,7 @@ services: labels: - autoheal=true healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}/health_checks/default"] + test: ["CMD", "ruby", "-e", "require 'net/http'; exit 1 unless Net::HTTP.get_response(URI('http://localhost:8080${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}/health_checks/default')).is_a?(Net::HTTPSuccess)"] interval: 10s timeout: 3s retries: 3