ADD Readme, Refactor EmbeddedRedis

- 로컬 환경에서 테스트용 EmbeddedRedis 가 생성되지 않아 설정변경
  1. EmbeddedRedis maxheap size를 1gb로 고정
  2. 테스트 환경에서 포트번호가 충돌하지 않도록 포트번호 변경(6379->16379)
This commit is contained in:
JiwonDev
2021-11-01 18:18:58 +09:00
committed by Jiwon
parent b3f389f827
commit b4c9aebc36
3 changed files with 11 additions and 2 deletions

View File

@@ -1,2 +1,8 @@
# YouAndMe
지역 사람들과 공감할 수 있는 지도 기반 블로깅 서비스
![main](https://i.imgur.com/1vm3DyZ.png)
/
## ✨프로젝트 구조
(2021.11.01 수정)
![Imgur](https://i.imgur.com/rE56Ain.png)

View File

@@ -21,7 +21,10 @@ public class EmbeddedRedisConfiguration {
@PostConstruct
public void redisServer() throws IOException {
redisServer = new RedisServer(redisPort);
redisServer = RedisServer.builder()
.port(redisPort)
.setting("maxheap 1gb")
.build();
redisServer.start();
}

View File

@@ -14,7 +14,7 @@ spring:
redis:
host: localhost
password:
port: 6379
port: 16379
app:
mail: