This is a sample Spring Boot project showcasing how to use Docker Compose to easily integrate and run dependencies like PostgreSQL within a local development environment.
It accompanies a blog post that explains the setup in detail and walks you through configuring Spring Boot to automatically start services via Docker Compose.
- Demonstrate Docker Compose support in Spring Boot
- Show how to configure and launch a PostgreSQL container
- Provide a minimal, working setup to build upon
- Not intended for production use
Feel free to explore, fork, and adapt the project to your own needs!
You can read more about this setup and walkthrough on my blog:
- Make sure Docker is installed and running on your machine.
- Clone this repository.
- Run the Spring Boot application using your IDE or:
./mvnw spring-boot:run
Enjoy exploring and happy coding! 😊