Browse Source

update port

xuekailun 4 months ago
parent
commit
4cf45ad479
2 changed files with 3 additions and 3 deletions
  1. 1 1
      gateway/gateway_config.py
  2. 2 2
      longvideoapi/longvideoapi_config.py

+ 1 - 1
gateway/gateway_config.py

@@ -14,7 +14,7 @@ repository = 'registry-vpc.cn-hangzhou.aliyuncs.com/stuuudy/{}'
 registry = 'registry-vpc.cn-hangzhou.aliyuncs.com/stuuudy/{}:{}'
 registry = 'registry-vpc.cn-hangzhou.aliyuncs.com/stuuudy/{}:{}'
 
 
 # 后端服务器使用的端口
 # 后端服务器使用的端口
-port = "80"
+port = "9000"
 
 
 # 修改负载均衡权限
 # 修改负载均衡权限
 alb_client_params = {
 alb_client_params = {

+ 2 - 2
longvideoapi/longvideoapi_config.py

@@ -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}")