From d4fcea4a064e79c107740c86897e6874e710c521 Mon Sep 17 00:00:00 2001 From: newjaehun Date: Sun, 10 Mar 2024 13:15:13 +0900 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20=EB=B0=B0=ED=8F=AC=EC=9A=A9=20prope?= =?UTF-8?q?rties=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.properties | 1 - src/main/resources/application-prod.properties | 1 - src/main/resources/application.properties | 14 +++++++++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index f1e92c9..5044099 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,6 +1,5 @@ spring.security.user.name=admin spring.security.user.password=1234 -server.port=5050 eureka.server.my-url=eureka eureka.client.service-url.defaultZone=\ http://${spring.security.user.name}:${spring.security.user.password}@localhost:${server.port}/${eureka.server.my-url} diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index f2d79d1..865f96a 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1,5 +1,4 @@ spring.security.user.name=admin spring.security.user.password=chzhvkdlrkwhgdkdy!12 -server.port=5050 eureka.server.my-url=eureka eureka.client.service-url.defaultZone=http://${spring.security.user.name}:${spring.security.user.password}@180.210.82.248:${server.port}/${eureka.server.my-url}/ diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6442fd5..22ba7e0 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,17 @@ +server.port=5050 + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=10s eureka.client.register-with-eureka=false eureka.client.fetch-registry=false -spring.profiles.active=dev + +## ????? +#spring.profiles.active=dev +## + +# ??? +spring.security.user.name=admin +spring.security.user.password=chzhvkdlrkwhgdkdy!12 +eureka.server.my-url=eureka +eureka.client.service-url.defaultZone=http://${spring.security.user.name}:${spring.security.user.password}@180.210.82.248:${server.port}/${eureka.server.my-url}/ +# \ No newline at end of file From 31a4319290698c0b1810fe6b58f9a9b14d940370 Mon Sep 17 00:00:00 2001 From: newjaehun Date: Mon, 11 Mar 2024 10:55:50 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=EB=B0=B0=ED=8F=AC=EC=9A=A9=20prope?= =?UTF-8?q?rties=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 22ba7e0..bdd45af 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -5,7 +5,7 @@ spring.lifecycle.timeout-per-shutdown-phase=10s eureka.client.register-with-eureka=false eureka.client.fetch-registry=false -## ????? +### ????? #spring.profiles.active=dev ##