admin_path

This commit is contained in:
qiaofeng1227 2023-05-20 16:53:57 +08:00
parent 5dcd544fac
commit 9c689c69ab
2 changed files with 2 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

@ -369,6 +369,7 @@ 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:
admin_domain_url = default_domain + admin_path
except IndexError: