Files
demo-sergio-1/src/main/resources/application-postgres.properties
Scaffolder 45af2cc8bf initial commit
Change-Id: I2527348882cd05308ba29e3125179062215a2e91
2026-07-08 16:52:01 +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