The application for spring boot + postgresdb + docker Run docker application $ docker-compose up OR Run local application Please install postgres on your local machine and config user & pass connect to your postgres database on application.properties 1. Build project $ mvn clean install 2. Run application $ mvn spring-boot:run Test Navigation to http://localhost:9001 References: Markdown-Cheatsheet Docker Docker compose Docker hub Spring boot + postgres + docker compose demo