From 9c689c69abdaf9aaa05c990f9bfdd84607b136fc Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Sat, 20 May 2023 16:53:57 +0800 Subject: [PATCH] admin_path --- appmanage/Dockerfile | 2 +- appmanage/api/service/manage.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/appmanage/Dockerfile b/appmanage/Dockerfile index ef28a3a5..d6cf741e 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -10,7 +10,7 @@ COPY static ./static COPY requirements.txt main.py ./ RUN apt update -# Install supervisord +# Install supervisords RUN apt install -y supervisor COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/cmd.sh /cmd.sh diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 84960eed..89feb65c 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -369,6 +369,7 @@ def get_apps_from_compose(): user_name = env_map.get("APP_USER","") password = env_map.get("POWER_PASSWORD","") admin_path = env_map.get("APP_ADMIN_PATH") + myLogger.info_logger(admin_path) if default_domain != "" and admin_path: admin_domain_url = default_domain + admin_path except IndexError: