From 56f559f087f4b72d5906912a6b592093a703fc44 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 18 May 2023 13:57:58 +0800 Subject: [PATCH] add url --- appmanage/api/service/manage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 869c185b..a97912c1 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -352,6 +352,7 @@ def get_apps_from_compose(): pass if user_name != "": 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] port = int(http_port) if app_https: @@ -374,7 +375,7 @@ def get_apps_from_compose(): if status in ['running', 'exited']: 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: config = None if status == "failed":