From bdd9e7f3c2b834c1f0144ea6a605a7580dc2aa96 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 16 May 2023 10:21:15 +0800 Subject: [PATCH] Update manage.py --- appmanage/api/service/manage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 7c45310e..92a430e7 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -229,6 +229,7 @@ def install_app_delay(app_name, customer_name, app_version): myLogger.info_logger("start JobID=" + job_id) docker.modify_env(env_path, 'APP_NAME', customer_name) docker.modify_env(env_path, "APP_VERSION", app_version) + docker.check_app_url(customer_name) cmd = "cd /data/apps/" + customer_name + " && sudo docker compose pull && sudo docker compose up -d" output = shell_execute.execute_command_output_all(cmd) myLogger.info_logger("-------Install result--------")