Fix : 레디스 설정 deprecated로 변경(spring boot 3.2부터 변경됨)

This commit is contained in:
lsh9672 2025-06-11 17:43:38 +09:00
parent 65d8b91140
commit a846987fa8
5 changed files with 35 additions and 31 deletions

View File

@ -19,11 +19,12 @@ spring:
hibernate: hibernate:
format_sql: true format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect dialect: org.hibernate.dialect.PostgreSQLDialect
redis: data:
host: ${REDIS_HOST:localhost} redis:
port: ${REDIS_PORT:6379} host: ${REDIS_HOST:localhost}
password: ${REDIS_PASSWORD:} port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
ai-api: ai-api:
openai: openai:

View File

@ -19,18 +19,19 @@ spring:
hibernate: hibernate:
format_sql: true format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect dialect: org.hibernate.dialect.PostgreSQLDialect
redis: data:
host: ${REDIS_HOST:localhost} redis:
port: ${REDIS_PORT:6379} host: ${REDIS_HOST:localhost}
password: ${REDIS_PASSWORD:} port: ${REDIS_PORT:6379}
timeout: 2000ms password: ${REDIS_PASSWORD:}
lettuce: timeout: 2000ms
pool: lettuce:
max-active: 8 pool:
max-wait: -1ms max-active: 8
max-idle: 8 max-wait: -1ms
min-idle: 0 max-idle: 8
min-idle: 0
jwt: jwt:
secret: ${JWT_SECRET:hiorder-secret-key-for-jwt-token-generation-must-be-long-enough} secret: ${JWT_SECRET:hiorder-secret-key-for-jwt-token-generation-must-be-long-enough}

View File

@ -19,11 +19,12 @@ spring:
hibernate: hibernate:
format_sql: true format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect dialect: org.hibernate.dialect.PostgreSQLDialect
redis: data:
host: ${REDIS_HOST:localhost} redis:
port: ${REDIS_PORT:6379} host: ${REDIS_HOST:localhost}
password: ${REDIS_PASSWORD:} port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
recommendation: recommendation:
cache-ttl: 3600 # 1시간 cache-ttl: 3600 # 1시간

View File

@ -19,11 +19,11 @@ spring:
hibernate: hibernate:
format_sql: true format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect dialect: org.hibernate.dialect.PostgreSQLDialect
data:
redis: redis:
host: ${REDIS_HOST:localhost} host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379} port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:} password: ${REDIS_PASSWORD:}
servlet: servlet:
multipart: multipart:

View File

@ -20,10 +20,11 @@ spring:
format_sql: true format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect dialect: org.hibernate.dialect.PostgreSQLDialect
redis: data:
host: ${REDIS_HOST:localhost} redis:
port: ${REDIS_PORT:6379} host: ${REDIS_HOST:localhost}
password: ${REDIS_PASSWORD:} port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
external-api: external-api:
naver: naver: