kermitt2 / biblio-glutton

A high performance bibliographic information service: https://biblio-glutton.readthedocs.io
125 stars 16 forks source link

Docker and Docker-compose files incorrect + java.net.ConnectException #79

Closed steppo83 closed 2 years ago

steppo83 commented 2 years ago

Hello, Some points to help users that will user biblio-glutton in Windows env with Docker.

volumes:

Even with all those changes, the service starts but biblio-glutton has java.net.ConnectException of Connection refused.

WARN [2022-09-26 07:48:02,191] org.eclipse.jetty.server.HttpChannel: handleException /service/data java.net.ConnectException: Connection refused WARN [2022-09-26 07:48:02,192] org.eclipse.jetty.server.HttpChannelState: unhandled due to prior sendError

Do I have to to a pull request for the changes above? Can you help me about the error of connection refused?

Thanks

steppo83 commented 2 years ago

I found why: inside the glutton.yml config file, there was written elastic: host: localhost:9200 -> THIS IS WRONG, has to be elasticsearch:9200 index: crossrefdata maxConnections: 20

lfoppiano commented 2 years ago

Dear @steppo83, thanks for the interest in biblio-glutton. Ideally we don't want to modify the local config file with information used by docker. I've created a PR some time ago to address some of the problems (e.g. configuration) you're facing, please check it out: #73 . It's on the branch feature/docker.

In addition I should have improved the documentation, please check the branch's documentation here: https://github.com/kermitt2/biblio-glutton/tree/feature/docker#running-with-docker

Regarding the information about windows, we can add them in the user guide which is, at the moment, in the README.MD file. At the moment you could branch out from feature/docker, add the information related to windows, and open a PR to that branch instead of master.

steppo83 commented 2 years ago

Dear @lfoppiano, thanks a lot for your answer. I created a PR starting from feature/docker branch.

Thanks!