Files
demo-cp4-1/src/main/resources/application-postgres.properties
Scaffolder a4d8956731 initial commit
Change-Id: I65341edf60d9ace4a4d0c05e2689cf0f23a8db67
2026-05-18 21:14:29 +00:00

8 lines
319 B
Properties

# database init, supports postgres too
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.sql.init.mode=always