mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
Update application-postgres.properties
application-postgresql file update with db container name
This commit is contained in:
parent
91328af12d
commit
e24a6f6398
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
|||
database=postgres
|
||||
spring.datasource.url=${POSTGRES_URL:jdbc:postgresql://localhost/petclinic}
|
||||
#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
|
||||
|
||||
spring.datasource.url=jdbc:postgresql://db/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
|
||||
|
|
Loading…
Reference in a new issue