Skip to content

Commit

Permalink
🐛 Fix : application.yml 설정 spring 설정을 eureka 설정이 가져가지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CYY1007 committed Dec 10, 2023
1 parent 49eb1a7 commit 151f05f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand All @@ -101,7 +101,6 @@ openai:
token: ${OPEN_API_TOKEN}
url:
chat: https://api.openai.com/v1/chat/completions

---
spring:
config:
Expand Down

0 comments on commit 151f05f

Please sign in to comment.