From 49eb1a7e0532576d8167f5a7b973b627825d5e3a Mon Sep 17 00:00:00 2001 From: CYY1007 Date: Sun, 10 Dec 2023 17:54:40 +0900 Subject: [PATCH 1/2] =?UTF-8?q?:bug:=20Fix=20:=20redis=20=EC=97=B0?= =?UTF-8?q?=EA=B2=B0=EC=A0=95=EB=B3=B4=20=ED=99=98=EA=B2=BD=EB=B3=80?= =?UTF-8?q?=EC=88=98=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c6338c5..2e2d630 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -86,7 +86,7 @@ eureka: default_batch_fetch_size: 1000 data: redis: - host: breifing-redis-cluster.bjyb5r.ng.0001.apne1.cache.amazonaws.com + host: ${REDIS_URL} port: 6379 jwt: header: Authorization From 151f05f0bb300eba2520ebdeb236515dcb44d02b Mon Sep 17 00:00:00 2001 From: CYY1007 Date: Sun, 10 Dec 2023 18:09:16 +0900 Subject: [PATCH 2/2] =?UTF-8?q?:bug:=20Fix=20:=20application.yml=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20spring=20=EC=84=A4=EC=A0=95=EC=9D=84=20eur?= =?UTF-8?q?eka=20=EC=84=A4=EC=A0=95=EC=9D=B4=20=EA=B0=80=EC=A0=B8=EA=B0=80?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=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.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 2e2d630..f9260ed 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -57,15 +57,6 @@ spring: config: activate: on-profile: dev -eureka: - instance: - # 표기되는 규칙 변경 - instance-id: dev_briefing_server - hostname: dev.newsbreifing.store - ip-address: dev.newsbreifing.store - client: - service-url: - defaultZone: http://eureka.newsbreifing.store:8761/eureka datasource: username: ${aws.db.username} password: ${aws.db.password} @@ -88,6 +79,15 @@ eureka: redis: host: ${REDIS_URL} port: 6379 + eureka: + instance: + # 표기되는 규칙 변경 + instance-id: dev_briefing_server + hostname: dev.newsbreifing.store + ip-address: dev.newsbreifing.store + client: + service-url: + defaultZone: http://eureka.newsbreifing.store:8761/eureka jwt: header: Authorization # dev server @@ -101,7 +101,6 @@ openai: token: ${OPEN_API_TOKEN} url: chat: https://api.openai.com/v1/chat/completions - --- spring: config: