USE `ry-config`;

UPDATE `config_info` SET `content` = REPLACE(`content`, 'host: localhost', 'host: ruoyi-redis') WHERE `content` LIKE '%host: localhost%';
UPDATE `config_info` SET `content` = REPLACE(`content`, 'jdbc:mysql://localhost:3306', 'jdbc:mysql://ruoyi-mysql:3306') WHERE `content` LIKE '%jdbc:mysql://localhost:3306%';
UPDATE `config_info` SET `content` = REPLACE(`content`, 'password: haoxin', 'password: password') WHERE `content` LIKE '%password: haoxin%';
UPDATE `config_info` SET `content` = REPLACE(`content`, 'path: D:/ruoyi/uploadPath', 'path: /home/ruoyi/uploadPath') WHERE `content` LIKE '%path: D:/ruoyi/uploadPath%';
UPDATE `config_info` SET `content` = REPLACE(`content`, 'domain: http://127.0.0.1:9300', 'domain: http://localhost:9300') WHERE `content` LIKE '%domain: http://127.0.0.1:9300%';
