Skip to content

Commit

Permalink
hotfix: 배포 환경에서 Redis 서버가 종료되는 에러 수정 (#84)
Browse files Browse the repository at this point in the history
* fix: redis yml 수정

* fix: task definition 파일 수정
  • Loading branch information
ht3064 authored Jun 25, 2024
1 parent f5db1bb commit 0701c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ spring:
on-profile: "redis"
data:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT:6379}
host: ${REDIS_HOST:localhost}
port: ${REDIS_HOST:6379}
password: ${REDIS_PASSWORD:}
4 changes: 0 additions & 4 deletions task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@
{
"name": "AWS_ENDPOINT",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:AWS_ENDPOINT::"
},
{
"name": "REDIS_HOST",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:REDIS_HOST::"
}
],
"ulimits": [],
Expand Down

0 comments on commit 0701c79

Please sign in to comment.