Commit b262112b by tingweiwang

添加lot以及grafana功能开关

1 parent 17a76387
Showing with 8 additions and 0 deletions
...@@ -14,6 +14,10 @@ kpl_back_socket=ws://106.38.203.205:30180 # 30200 https对应wss ...@@ -14,6 +14,10 @@ kpl_back_socket=ws://106.38.203.205:30180 # 30200 https对应wss
#mobile_frontend=http://106.38.203.205:30181 #30181 #mobile_frontend=http://106.38.203.205:30181 #30181
kpl_stream=106.38.203.205:30205 kpl_stream=106.38.203.205:30205
#kpl_admin_frontend=http://106.38.203.205:30182 #kpl_admin_frontend=http://106.38.203.205:30182
##################功能开关#####################################
iot_boolean=true
grafana_boolean=false
mqtt_host= #192.168.1.32:1883
###############其他依赖服务变量信息######################################### ###############其他依赖服务变量信息#########################################
mysql_host=192.168.1.32:3306 mysql_host=192.168.1.32:3306
mysql_user=root mysql_user=root
...@@ -54,6 +58,10 @@ sudo sed -i s#kpl_back_socket#$kpl_back_socket#g `find $config_workspace -type f ...@@ -54,6 +58,10 @@ sudo sed -i s#kpl_back_socket#$kpl_back_socket#g `find $config_workspace -type f
#sudo sed -i s#kpl_imageproxy#$kpl_imageproxy#g `find $config_workspace -type f -name "*.yaml"` #sudo sed -i s#kpl_imageproxy#$kpl_imageproxy#g `find $config_workspace -type f -name "*.yaml"`
#sudo sed -i s#mobile_frontend#$mobile_frontend#g `find $config_workspace -type f -name "*.yaml"` #sudo sed -i s#mobile_frontend#$mobile_frontend#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_stream#$kpl_stream#g `find $config_workspace -type f -name "*.yaml"` sudo sed -i s#kpl_stream#$kpl_stream#g `find $config_workspace -type f -name "*.yaml"`
########################功能开关#######################################
sudo sed -i s#iot_boolean#$iot_boolean#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#mqtt_host#$mqtt_host#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#grafana_boolean#$grafana_boolean#g `find $config_workspace -type f -name "*.yaml"`
################################################################################################### ###################################################################################################
sudo sed -i s#kpl_service_id#$kpl_service_id#g `find $config_workspace -type f -name "*.yaml"` sudo sed -i s#kpl_service_id#$kpl_service_id#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_realy_path#$kpl_realy_path#g `find $config_workspace -type f -name "*.yaml"` sudo sed -i s#kpl_realy_path#$kpl_realy_path#g `find $config_workspace -type f -name "*.yaml"`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!