Skip to content

Commit a6bd3d2

Browse files
committed
chore: 메모리 부족으로 인한 ecs 롤링 배포 실패를 해결하기 위해 redis 제거
1 parent 3c1ec91 commit a6bd3d2

2 files changed

Lines changed: 2 additions & 20 deletions

File tree

src/main/java/bitnagil/bitnagil_backend/global/config/DevRedisConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
1212
import org.springframework.data.redis.serializer.StringRedisSerializer;
1313

14-
@Profile({"dev", "local"})
14+
//@Profile({"dev", "local"})
15+
@Profile({"local"})
1516
@Configuration
1617
public class DevRedisConfig {
1718

task-definition-dev.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,6 @@
4444
"secretOptions": []
4545
},
4646
"systemControls": []
47-
},
48-
{
49-
"name": "redis-dev",
50-
"image": "redis:7-alpine",
51-
"cpu": 1,
52-
"portMappings": [
53-
{
54-
"name": "redis-dev-6379-tcp",
55-
"containerPort": 6379,
56-
"hostPort": 6379,
57-
"protocol": "tcp"
58-
}
59-
],
60-
"essential": false,
61-
"environment": [],
62-
"environmentFiles": [],
63-
"mountPoints": [],
64-
"volumesFrom": [],
65-
"systemControls": []
6647
}
6748
],
6849
"taskRoleArn": "arn:aws:iam::750819668269:role/ecsTaskExecutionRole",

0 commit comments

Comments
 (0)