Getting ConnectionError while running elastic search using docker in django project
I am recently learning docker. I want to run elasticsearch using docker. It works fine when I only add code to run elastic search in docker file. But I am getting Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError
when I update docker-compose.yml file to start server, postgresql db and elastic search.