This commit is contained in:
qiaofeng1227 2023-05-19 17:19:26 +08:00
parent 878e4f7181
commit 4ba213a164
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -406,6 +406,8 @@ def get_apps_from_compose():
app_id = customer_name + "_" + customer_name
create_time = get_createtime(official_app, app_path, customer_name)
if status in ['running', 'exited']:
myLogger.info_logger("config set ok")
myLogger.info_logger(default_domain)
config = Config(port=port, compose_file=volume, url=url, admin_url=admin_url,
admin_username=user_name, admin_password=password, default_domain=default_domain)
else: