Spring Boot supports embedded servlet containers, which makes deploying applications much easier because you don’t need an external application server setup. You can simply package your Spring Boot application as a JAR module and run it using the java -jar command. However, you need to consider a few things while running applications in a production environment.
You can use profiles to externalize configuration ...