spring-petclinic/src/main/resources/application-postgres.properties
Fabian Muscariello ce626da705 Add support for PostgreSQL
See #636
2021-12-07 16:55:01 +00:00

6 lines
297 B
Properties

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.datasource.initialization-mode=always