We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef8d244 + 5c9da66 commit 5f4734cCopy full SHA for 5f4734c
โsrc/main/java/cmf/commitField/global/config/RedisConfig.javaโ
@@ -28,9 +28,9 @@ public class RedisConfig {
28
@Bean
29
public RedissonClient redissonClient() {
30
Config config = new Config();
31
- //๋ก์ปฌ ํ๊ฒฝ์์ .setAddress("redis://127.0.0.1:6379")๋ก ์์ ํ์
+ String redisAddress = "redis://" + host + ":" + port;
32
config.useSingleServer()
33
- .setAddress("redis://172.17.0.1:6379")
+ .setAddress(redisAddress)
34
.setPassword(password); // ๋น๋ฐ๋ฒํธ ์ถ๊ฐ
35
return Redisson.create(config);
36
}
0 commit comments