X-Git-Url: https://juplo.de/gitweb/?p=demos%2Fspring%2Fdata-jdbc;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fapplication.yml;h=0927e147d5954218e10be26b8536801541b6d0c1;hp=7ea719a7a62e8817d9b6bdb522190d38ac4c54ac;hb=d31cfb6720f03a4fec0ae8c660d2e10826d0b69f;hpb=ffffec121e9c1fb75642e669f9bdb05f444819dc 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