ConfigCenter 替换字符串

deploy yaml 添加env 后,启动容器的时候  修改1个配置文件加启动命令

 

 

 

 

 

 

 

sed -i "/ConfigCenter.Db/s#connectionString=".*"#connectionString=\"$ConfigCenterDb;\" />#"  /data/ConfigCenter/ConfigCenter.Service.exe.config && mono /data/ConfigCenter/ConfigCenter.Service.exe

posted @ 2022-01-18 17:47  NeilyoX  阅读(39)  评论(0)    收藏  举报