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 1cef69f + 9dd777c commit 5c9da66Copy full SHA for 5c9da66
โ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