projects
/
demos
/
spring
/
data-jdbc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a profile, that starts the app with a PostgreSQL-DB
[demos/spring/data-jdbc]
/
src
/
main
/
resources
/
application.yml
diff --git
a/src/main/resources/application.yml
b/src/main/resources/application.yml
index
7ea719a
..
0927e14
100644
(file)
--- a/
src/main/resources/application.yml
+++ b/
src/main/resources/application.yml
@@
-3,3
+3,18
@@
management:
web:
exposure:
include: "*"
web:
exposure:
include: "*"
+
+spring:
+ flyway:
+ locations: classpath:db/migration/h2
+
+---
+
+spring:
+ profiles: prod
+ datasource:
+ url: jdbc:postgresql://postgres:5432/outbox
+ username: outbox
+ password: outbox
+ flyway:
+ locations: classpath:db/migration/postgres