This is an automated email from the ASF dual-hosted git repository.
aloyszhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new fe45b53 [INLONG-1716][manager] fix the mysql config for docker images
(#1717)
fe45b53 is described below
commit fe45b53e0c6eae1780d16ea11508c963107cd474
Author: dockerzhang <[email protected]>
AuthorDate: Tue Oct 26 10:03:50 2021 +0800
[INLONG-1716][manager] fix the mysql config for docker images (#1717)
Co-authored-by: dockerzhang <[email protected]>
---
inlong-manager/manager-docker/manager-docker.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/inlong-manager/manager-docker/manager-docker.sh
b/inlong-manager/manager-docker/manager-docker.sh
index 24d4b18..2c1f0be 100644
--- a/inlong-manager/manager-docker/manager-docker.sh
+++ b/inlong-manager/manager-docker/manager-docker.sh
@@ -30,8 +30,8 @@
conf_file="${file_path}"/conf/application-"${ACTIVE_PROFILE}".properties
# replace the configuration
sed -i
"s/spring.profiles.active=.*$/spring.profiles.active=${ACTIVE_PROFILE}/g"
"${file_path}"/conf/application.properties
sed -i "s/127.0.0.1:3306/${JDBC_URL}/g" "${conf_file}"
-sed -i "s/datasource.username=.*$/datasource.username=${USERNAME}/g"
"${conf_file}"
-sed -i "s/datasource.password=.*$/datasource.password=${PASSWORD}/g"
"${conf_file}"
+sed -i
"s/datasource.druid.username=.*$/datasource.druid.username=${USERNAME}/g"
"${conf_file}"
+sed -i
"s/datasource.druid.password=.*$/datasource.druid.password=${PASSWORD}/g"
"${conf_file}"
sed -i "s/cluster.tube.manager=.*$/cluster.tube.manager\=${TUBE_MANAGER}/g"
"${conf_file}"
sed -i "s/cluster.tube.master=.*$/cluster.tube.master\=${TUBE_MASTER}/g"
"${conf_file}"