From 5607034b1e3ae77ef395ae8217df27e9530a2063 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 16 Mar 2023 08:49:31 +0000 Subject: [PATCH] http_url --- appmanage/api/utils/docker.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/appmanage/api/utils/docker.py b/appmanage/api/utils/docker.py index d0c5eacd..f914e156 100644 --- a/appmanage/api/utils/docker.py +++ b/appmanage/api/utils/docker.py @@ -68,6 +68,13 @@ def check_app_compose(app_name): myLogger.info_logger("Port check complete") return +def check_app_url(customer_app_name): + myLogger.info_logger("Checking app url...") + + # 如果app的.env文件中含有HTTP_URL项目,需要如此设置 HTTP_URL=ip:port + myLogger.info_logger("App url check complete") + return + def read_env(path, key): myLogger.info_logger("Read " + path) output = shell_execute.execute_command_output_all("cat " + path + "|grep "+ key)