Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-09 08:20:39 +08:00 committed by GitHub
parent d9804a1bfe
commit 85a19f5b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,10 @@ def get_apps_from_compose():
password = list(docker.read_env(path, "POWER_PASSWORD").values())[0]
except IndexError:
pass
else:
app_name = customer_name
app_id = customer_name + "_" + customer_name
if status in ['running', 'exited']:
config = Config(port=port, compose_file=volume, url=url, admin_url=admin_url,
user_name=user_name, password=password, default_domain="", set_domain="")