mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
http_url
This commit is contained in:
parent
577147892c
commit
5607034b1e
@ -68,6 +68,13 @@ def check_app_compose(app_name):
|
|||||||
myLogger.info_logger("Port check complete")
|
myLogger.info_logger("Port check complete")
|
||||||
return
|
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):
|
def read_env(path, key):
|
||||||
myLogger.info_logger("Read " + path)
|
myLogger.info_logger("Read " + path)
|
||||||
output = shell_execute.execute_command_output_all("cat " + path + "|grep "+ key)
|
output = shell_execute.execute_command_output_all("cat " + path + "|grep "+ key)
|
||||||
|
Loading…
Reference in New Issue
Block a user