-
Notifications
You must be signed in to change notification settings - Fork 33
profiles
AleksSPb edited this page Dec 27, 2015
·
6 revisions
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) | DB | Server filesystem directory |