Erikvl87/docker-languagetool

Automatic POST every 30s

ma-ludw opened this issue · 2 comments

If I run the docker image, it does an automatic POST request every 30s.
I want to run the image on my Synology NAS and these POST request prevents the hard disks to go in hibernation state. I tried the image on my Windows machine with the same outcome.

If I run the LanguageTool server without the docker image on my Windows machine with java, there are no requests sent.

Screenshot 2022-06-25 134406

Hi @ma-ludw, those are the HEALTHCHECK (https://github.com/Erikvl87/docker-languagetool/blob/v5.7-dockerupdate-1/Dockerfile#L62) requests to check if LanguageTool is still responding. You can consider disabling those by adding the --no-healthcheck argument to the startup / docker run command.

Source: https://docs.docker.com/engine/reference/run/#healthcheck

Please let me know if this worked out for you so we can close this issue.

This solves the problem. Now I have to figure out how I can pass the argument to the container on my synology nas GUI. In the cli it works without any problems.
Thank you.

Maybe it would be nice to add this information to the README.