Files
petclinic-demo-andrej6/src/main/resources/application-postgres.properties
Scaffolder 9078ffcbdd initial commit
Change-Id: I513c057a29f1b132d4555cae4cb8da1c09cae5a8
2026-05-15 14:50:24 +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