TLDR Kanak had difficulties connecting to Typesense on Docker despite successful installation. After discussions with Jason troubleshooting the issue, Kanak realized the problem was with the ufw firewall.
Could you share the exact curl command you’re running to check /health?
`curl
Hmm, did you run netstat from the host?
yes
Could you docker exec bash into the container and try running the healthcheck from within the container?
May I know what host OS you’re running docker on, and also the docker engine version?
Sorry, inside the container I am able to access the health endpoint. (I have no docker chops, just want to try the latest image.) I guess it's a firewall issue I will have to troubleshoot. Thanks for the help!
You’re running `curl
Yes :smile:
Just making sure!
Wonder what else could be wrong… That docker compose file seems to work fine for me at least from a mac
I have traced it to ufw... apparently it's a thing.
I see, good to know!
Kanak
Wed, 26 Jul 2023 21:26:57 UTCI am trying to install typesense using docker (latest build) on a fresh machine with 100+GB free memory. My docker-compose is exactly as in the docs. I see the familiar "Peer refresh succeeded" message, but I can never connect to the service, the /health endpoint just times out. What could be causing this? I have tested on multiple typesense images. `netstat` also shows that 8108 is active. Here is the output of `docker-compose logs typesense`.