From a7c30dcd7e09ecca3784fe2a1cf100dc8ce5fc60 Mon Sep 17 00:00:00 2001 From: TooY <330282372@qq.com> Date: Fri, 31 Mar 2023 13:53:06 +0800 Subject: [PATCH] update manage.py --- appmanage/api/service/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 6216d155..292a6fc0 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -228,7 +228,7 @@ def install_app_job(customer_app_name, app_version): docker.modify_env(env_path, 'APP_NAME', customer_app_name) docker.modify_env(env_path, "APP_VERSION", app_version) # check port - docker.check_app_compose('/data/apps/' + customer_app_name) + docker.check_app_compose(env_path) # modify running_apps.txt cmd = "cd /data/apps/" + customer_app_name + " && sudo docker compose up --pull always -d" shell_execute.execute_command_output_all(cmd)