You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AleksSPb edited this page Dec 27, 2015
·
6 revisions
What's the difference between profiles
Q: how many profiles we have?
A: Now we have 2 spring profiles: prod and test.
Q: how are they get activated?
A: We choose what profile will be use by setting profile property in spring-boot-maven-plugin plugin configuration section in pom.xml or by setting JAVA_OPTS parameter -Dspring.profiles.active.
Q: what the differences?
Properties
test
prod
Database
H2 in memory
MySQL
Where we store stamp images(ImagePersistenceStrategy)