mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
admin_url
This commit is contained in:
parent
9c689c69ab
commit
4eed8b47dd
2 changed files with 7 additions and 3 deletions
|
@ -10,7 +10,7 @@ COPY static ./static
|
|||
COPY requirements.txt main.py ./
|
||||
RUN apt update
|
||||
|
||||
# Install supervisords
|
||||
# Install supervisord
|
||||
RUN apt install -y supervisor
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY config/cmd.sh /cmd.sh
|
||||
|
|
|
@ -369,8 +369,12 @@ def get_apps_from_compose():
|
|||
user_name = env_map.get("APP_USER","")
|
||||
password = env_map.get("POWER_PASSWORD","")
|
||||
admin_path = env_map.get("APP_ADMIN_PATH")
|
||||
myLogger.info_logger(admin_path)
|
||||
if default_domain != "" and admin_path:
|
||||
if admin_path:
|
||||
myLogger.info_logger(admin_path)
|
||||
else:
|
||||
admin_path =""
|
||||
|
||||
if default_domain != "" and admin_path != "":
|
||||
admin_domain_url = default_domain + admin_path
|
||||
except IndexError:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue