Files
petclinic-demo-andrej3/src/main/resources/application-postgres.properties
Scaffolder ed7639e7ce
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m4s
initial commit
Change-Id: I83c7674b31ee747d97c4828579f45209910ebbd6
2026-05-13 09:33:02 +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