Answer the question
In order to leave comments, you need to log in
How to take out the config file for the system administrator?
The project is written on sprin, it is launched on tomcat, you need to take out the config. files for the system administrator. So that when updating the war file, the settings remain the same.
Answer the question
In order to leave comments, you need to log in
What's the problem? The configuration files are moved to some permanent directory, and the application specifies the paths to these files. These paths can be passed through environment variables, through Tomcat context parameters (conf/context.xml). With the help of Spring Cloud Config , configuration files can generally be kept in a git repository and provided with access to them through config servers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question