mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-22 11:21:12 +00:00
parent
20adfb71be
commit
ce626da705
7 changed files with 158 additions and 3 deletions
6
src/main/resources/application-postgres.properties
Normal file
6
src/main/resources/application-postgres.properties
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue