Connection attempt failed to PostgreSQL Docker Container and running Spring Boot on local computer not as a container
So I am trying to develop a simple application in Java Maven (Spring-Boot) with some endpoints. I have a docker-compose file, as for now I am trying just to run the postgres on it without the app.