Added a profile, that starts the app with a PostgreSQL-DB
authorKai Moritz <kai@juplo.de>
Sun, 25 Oct 2020 15:34:05 +0000 (16:34 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 7 Feb 2021 13:49:20 +0000 (14:49 +0100)
commitd31cfb6720f03a4fec0ae8c660d2e10826d0b69f
tree9a1a027aa0ec48fabd067dba5c91e88630e819b4
parentffffec121e9c1fb75642e669f9bdb05f444819dc
Added a profile, that starts the app with a PostgreSQL-DB

* Added the dependency for the PostgreSQL-driver
* Added the new profile
* Configured Flyway to apply db-specific SQL
* Added a PostgreSQL-DB to the setup for Docker Compose as "postgres"
* Added a named volume for the data of the service "postgres"
* Selected the new profile "prod" for the service "jdbc"
docker-compose.yml
pom.xml
src/main/resources/application.yml
src/main/resources/db/migration/V1__Table_users.sql [deleted file]
src/main/resources/db/migration/h2/V1__Table_users.sql [new file with mode: 0644]
src/main/resources/db/migration/postgres/V1__Table_users.sql [new file with mode: 0644]