feat: add redis

This commit is contained in:
2025-12-01 20:24:51 +09:00
parent c300771020
commit f6d5901300
7 changed files with 113 additions and 4 deletions

View File

@@ -25,10 +25,12 @@ spring:
idle-timeout: 300000 # 5분 유휴 타임아웃
max-lifetime: 1800000 # 30분 최대 수명
leak-detection-threshold: 60000 # 연결 누수 감지
transaction:
default-timeout: 300 # 5분 트랜잭션 타임아웃
data:
redis:
host: 192.168.2.109
port: 6379
password: kamco

View File

@@ -22,3 +22,9 @@ spring:
minimum-idle: 1
maximum-pool-size: 5
data:
redis:
host: 192.168.2.109
port: 6379
password: kamco

View File

@@ -20,6 +20,12 @@ spring:
idle-timeout: 300000
max-lifetime: 1800000
leak-detection-threshold: 60000
data:
redis:
host: localhost
port: 6379
password:
jpa:
hibernate:
ddl-auto: update # 테이블이 없으면 생성, 있으면 업데이트