diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c6338c5..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} @@ -86,8 +77,17 @@ eureka: default_batch_fetch_size: 1000 data: redis: - host: breifing-redis-cluster.bjyb5r.ng.0001.apne1.cache.amazonaws.com + 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: