Skip to content

Commit

Permalink
HOTFIX: 레디스 환경변수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Jan 7, 2025
1 parent f8382e2 commit 5e4f2c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/gachtaxi/global/config/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ public class RedisConfig {

public static final String WILD_CARD = "*";

@Value("${spring.data.redis.host:localhost}")
@Value("${spring.data.redis.host}")
private String host;

@Value("${spring.data.redis.port:6379}")
@Value("${spring.data.redis.port}")
private int port;

@Value("${spring.data.redis.password:}")
@Value("${spring.data.redis.password}")
private String password;

@Value("${chat.topic}")
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ spring:
ddl-auto: update
data:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT}
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD}
mongodb:
uri: ${MONGODB_URI}
Expand Down

0 comments on commit 5e4f2c7

Please sign in to comment.