mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
add url
This commit is contained in:
parent
c393a7b75a
commit
56f559f087
@ -352,6 +352,7 @@ def get_apps_from_compose():
|
|||||||
pass
|
pass
|
||||||
if user_name != "":
|
if user_name != "":
|
||||||
try:
|
try:
|
||||||
|
myLogger.info_logger("user_name="+user_name+" password="+ " ---start to set url")
|
||||||
http_port = list(docker.read_env(path, "APP_HTTP_PORT").values())[0]
|
http_port = list(docker.read_env(path, "APP_HTTP_PORT").values())[0]
|
||||||
port = int(http_port)
|
port = int(http_port)
|
||||||
if app_https:
|
if app_https:
|
||||||
@ -374,7 +375,7 @@ def get_apps_from_compose():
|
|||||||
|
|
||||||
if status in ['running', 'exited']:
|
if status in ['running', 'exited']:
|
||||||
config = Config(port=port, compose_file=volume, url=url, admin_url=admin_url,
|
config = Config(port=port, compose_file=volume, url=url, admin_url=admin_url,
|
||||||
app_username=user_name, app_password=password, default_domain=default_domain)
|
admin_username=user_name, admin_password=password, default_domain=default_domain)
|
||||||
else:
|
else:
|
||||||
config = None
|
config = None
|
||||||
if status == "failed":
|
if status == "failed":
|
||||||
|
Loading…
Reference in New Issue
Block a user