What will be deployed?

Before we deploy anything, we must provide everything that will be deployed. For this, we will deploy the JAR of our API module. The JAR is a result of application building. The first thing we will do is prepare our application for release. We will change our port from 9000 to 80. Open the application.properties file and make the following changes:

spring.application.name= journaler server.port= 80 logging.level.root=INFO logging.level.com.journaler.api=DEBUG logging.level.org.springframework.jdbc=ERROR endpoints.health.enabled=true endpoints.trace.enabled=true endpoints.info.enabled=true endpoints.metrics.enabled=true spring.datasource.url=jdbc:mysql://localhost/journaler_api?useSSL=false&useUnicode=true&characterEncoding=utf-8 ...

Get Building Applications with Spring 5 and Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.