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 spring.datasource.username=root spring.datasource.password=localInstance2017 spring.datasource.tomcat.test-on-borrow=true spring.datasource.tomcat.validation-interval=30000 spring.datasource.tomcat.validation-query...