|
@@ -15,7 +15,7 @@ server_group_id_list = ["sgp-ec4gopoclruofsfmxu"]
|
|
|
|
|
|
|
|
|
|
# 后端服务器使用的端口
|
|
# 后端服务器使用的端口
|
|
-port = "80"
|
|
|
|
|
|
+port = "8080"
|
|
|
|
|
|
# 修改负载均衡权限
|
|
# 修改负载均衡权限
|
|
alb_client_params = {
|
|
alb_client_params = {
|
|
@@ -180,7 +180,7 @@ instance_config_k_alb = {
|
|
|
|
|
|
# 服务启动脚本
|
|
# 服务启动脚本
|
|
start_sh_dir = os.path.dirname(os.path.realpath(__file__))
|
|
start_sh_dir = os.path.dirname(os.path.realpath(__file__))
|
|
-start_sh_filename = 'longvideo_start.sh' # todo 脚本不存在,copy后维护两个路径,是否合并
|
|
|
|
|
|
+start_sh_filename = 'longvideo_start.sh'
|
|
with open(file=os.path.join(start_sh_dir, start_sh_filename), mode='r', encoding='utf-8') as rf:
|
|
with open(file=os.path.join(start_sh_dir, start_sh_filename), mode='r', encoding='utf-8') as rf:
|
|
file_content = rf.read()
|
|
file_content = rf.read()
|
|
logging.info(f"start sh file content: {file_content}")
|
|
logging.info(f"start sh file content: {file_content}")
|