Deploying a SpringBoot App with an application.properties using a docker-composer.yml file and limiting resources
We saw how to deploy a Spring Boot application with its application.properties plus a .p12 key using an SSL certificate to secure Apache Tomcat or Netty in here https://springboot-vuejs-reactjs.blogspot.com/2019/12/springboot-with-applicationproperties.html now let's do the same thing but using a docker-composer.yml with volumes instead of using images so that this is going to give us the advantage about updating the .jar application and restarting the container without rebuilding the whole image. let's create a folder in which you are going to have your .jar app , the application.properties and .p12 key to secure with SSL your SpringBoot app and any other files you need to run your application, as in the previous post if you need a mini SpringBoot app to test it, grab this https://github.com/juandavidmarin368/SpringBoot-Docker I've got a domain name with the one I do the tests with SSL and it is http://sslbackendtest.xyz/ I've created a file inside