ThomasVitale / springone-2021-spring-boot-production-boost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpringOne 2021 - Spring Boot: Production Boost

Slides: https://speakerdeck.com/thomasvitale/spring-boot-production-boost

Usage

First, package the Book Service application as a container images leveraging the Cloud Native Buildpacks integration provided by Spring Boot.

./gradlew bootBuildImage

Then, from the project root folder, run Docker Compose for starting both Book Service and PostgreSQL.

docker-compose up -d

The Book Service application is exposed on port 8080.

About

License:MIT License


Languages

Language:Java 100.0%