I created springboot application with elasticsearch run in docker, at first when i run the application at the ide it run good, however, after i created springboot container and run in docker with docker-compose, this container cant connect to elasticsearch container anymore…
one impotant information is that 2 container can connect if i set network_mode:host (but i dont want to use that)
I will provide you with the GitHub link of the project before it creates and connects the two images. I hope you can try to create the necessary Docker files and connect them.