Add support for PostgreSQL

See #636
This commit is contained in:
Fabian Muscariello 2021-12-07 12:46:58 +01:00 committed by Dave Syer
parent 20adfb71be
commit ce626da705
7 changed files with 158 additions and 3 deletions

View file

@ -0,0 +1,6 @@
database=postgres
spring.datasource.url=${POSTGRES_URL:jdbc:postgresql://localhost/petclinic}
spring.datasource.username=${POSTGRES_USER:petclinic}
spring.datasource.password=${POSTGRES_PASS:petclinic}
# SQL is written to be idempotent so this is safe
spring.datasource.initialization-mode=always