mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
domain
This commit is contained in:
parent
878e4f7181
commit
4ba213a164
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue