Changing application properties during deployement on Spring Boot

changing application properties during deployement on Spring Boot:

All you have to do is just prefix the property that you want to change with "-D" and your ready to go

java -Dserver.port=8080 -Dspring.data.mongodb.host="localhost" -jar java.jar

Syntaxe:

-D<property-name>