From c14b133254e4f4053284baccde4a103c5a9efb6c Mon Sep 17 00:00:00 2001 From: Leung Cheng Date: Fri, 13 Dec 2024 23:22:54 +0800 Subject: [PATCH] Update properties --- src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a9731af..12a76c5 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,5 @@ spring.application.name=spring-simple-backend -spring.datasource.url=jdbc:postgresql://${POSTGRES_URL:localhost}:${POSTGRES_PORT:5432}/${POSTGRES_DB:db} +spring.datasource.url=jdbc:postgresql://${POSTGRES_HOST:localhost}:${POSTGRES_PORT:5432}/${POSTGRES_DB:db} spring.datasource.username=${POSTGRES_USER:admin} spring.datasource.password=${POSTGRES_PASSWORD:password} spring.datasource.driver-class-name=org.postgresql.Driver