File tree Expand file tree Collapse file tree
src/main/java/bitnagil/bitnagil_backend/global/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import org .springframework .data .redis .serializer .GenericJackson2JsonRedisSerializer ;
1212import org .springframework .data .redis .serializer .StringRedisSerializer ;
1313
14- // @Profile({"dev", "local"})
15- @ Profile ({"local" })
14+ @ Profile ({"dev" , "local" })
15+ // @Profile({"local"})
1616@ Configuration
1717public class DevRedisConfig {
1818
Original file line number Diff line number Diff line change 1414 }
1515 ],
1616 "essential" : true ,
17+ "links" : [
18+ " redis-dev"
19+ ],
1720 "environment" : [
1821 {
1922 "name" : " SPRING_PROFILES_ACTIVE" ,
4144 "secretOptions" : []
4245 },
4346 "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" : []
4466 }
4567 ],
4668 "taskRoleArn" : " arn:aws:iam::750819668269:role/ecsTaskExecutionRole" ,
You can’t perform that action at this time.
0 commit comments