3

I am trying to deploy multiple spring boot web app on tomcat. All have the same application.properties.How can I split the configuration files for different app running on tomcat.

Soumyajit Swain
  • 1,298
  • 1
  • 21
  • 35
  • 1
    I've had the same issue and have posted an answer to a similar question [here](http://stackoverflow.com/questions/29106579/external-configuration-for-spring-boot-application/29122037#29122037). – ci_ Sep 08 '15 at 13:45

1 Answers1

4

Spring Boot doesn't require an external Tomcat, because it contains its own embedded Tomcat. So you can run all of your application in it's own Tomcat on the same machine. All you have to do is to define different ports for your applications via server.port property.

Alexander Tokarev
  • 2,743
  • 2
  • 20
  • 21