X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fapplication.yml;h=0927e147d5954218e10be26b8536801541b6d0c1;hb=9326ab1848e9c96888343410939e636b0ea974b0;hp=7ea719a7a62e8817d9b6bdb522190d38ac4c54ac;hpb=21ee193ca1a46c8f9b52768f4c18af7829a8c35a;p=demos%2Fspring%2Fdata-jdbc diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7ea719a..0927e14 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -3,3 +3,18 @@ management: 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