Update manage.py

This commit is contained in:
qiaofeng1227 2023-03-24 15:27:19 +08:00 committed by GitHub
parent 770f851d7e
commit 8502fa4bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ def install_app_job(customer_app_name, app_version):
# check port
docker.check_app_compose(customer_app_name)
# modify running_apps.txt
cmd = "cd /data/apps/" + customer_app_name + " && sudo docker compose up -d"
cmd = "cd /data/apps/" + customer_app_name + " && sudo docker compose up --pull always -d"
shell_execute.execute_command_output_all(cmd)
file_data = ""
with open(file_path, "r", encoding="utf-8") as f: