diff --git a/src/main/resources/application-postgres.properties b/src/main/resources/application-postgres.properties index 60889b43c..64d71b4d7 100644 --- a/src/main/resources/application-postgres.properties +++ b/src/main/resources/application-postgres.properties @@ -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