Files
demo-kai-1/src/main/resources/application-postgres.properties
Scaffolder f1f490e017 initial commit
Change-Id: I778f75b1e3db48fc1d21c7ef03ec88b977c2fb93
2026-10-02 12:43:48 +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