mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-23 08:00:23 +00:00
http_url
This commit is contained in:
parent
577147892c
commit
5607034b1e
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue