Use maven goal : clean install tomcat7:run
The maven must run in Java 8.
In the project root folder : docker-compose up -d
The following URLs will be availables :
Add following options for specify spring configuration file to use :
-Dspring.profiles.active=<active.profile> -Dspring.config.location=<path.to.properties.file>
For example :
-Dspring.profiles.active=recette -Dspring.config.location=/applications/projets/onegeology.brgm-rec.fr/tomcat/properties/application.yml
The options are to be put on the command line for the LOCAL RUN.
For the DOCKER RUN, you must edit the docker-compose.yml
and add options in the command instruction. The config file must be accessible in the running container.