From 298763a4a7c57bd072a97bdf1cdef044e0add6e1 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 15 Nov 2022 18:28:27 +0800 Subject: [PATCH 1/2] docker --- script/init_pwd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/script/init_pwd.sh b/script/init_pwd.sh index 1cc51c9a4..63af606c1 100644 --- a/script/init_pwd.sh +++ b/script/init_pwd.sh @@ -8,3 +8,4 @@ sed -i "/^\([[:space:]]*dbMysqlPassword: *\).*/s//\1$PASSWORD/;/\([[:space:]]*db sed -i "/\([[:space:]]*endpoint: *\).*/s##\1$MINIO_ENDPOINT#;" ../config/usualConfig.yaml sed -i "/\([[:space:]]*dbPassWord: *\).*/s//\1$PASSWORD/;" ../config/usualConfig.yaml +sed -i "/\([[:space:]]*secret: *\).*/s//\1$PASSWORD/;" ../docker-compose_cfg/config.yaml" From 3e21c841be7598b3fecfbd1d6738680de2820113 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 15 Nov 2022 18:29:33 +0800 Subject: [PATCH 2/2] docker --- script/init_pwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/init_pwd.sh b/script/init_pwd.sh index 63af606c1..dfe02a959 100644 --- a/script/init_pwd.sh +++ b/script/init_pwd.sh @@ -8,4 +8,4 @@ sed -i "/^\([[:space:]]*dbMysqlPassword: *\).*/s//\1$PASSWORD/;/\([[:space:]]*db sed -i "/\([[:space:]]*endpoint: *\).*/s##\1$MINIO_ENDPOINT#;" ../config/usualConfig.yaml sed -i "/\([[:space:]]*dbPassWord: *\).*/s//\1$PASSWORD/;" ../config/usualConfig.yaml -sed -i "/\([[:space:]]*secret: *\).*/s//\1$PASSWORD/;" ../docker-compose_cfg/config.yaml" +sed -i "/\([[:space:]]*secret: *\).*/s//\1$PASSWORD/;" ../docker-compose_cfg/config.yaml