This commit is contained in:
qiaofeng1227 2023-05-18 16:35:34 +08:00
parent 03ad3d7496
commit f23b1a78c9
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

@ -362,6 +362,7 @@ def get_apps_from_compose():
pass
try:
replace = list(docker.read_env(path, "APP_URL_REPLACE").values())[0]
myLogger.info_logger("replace="+replace)
if replace == "true":
app_replace_url = True
https = list(docker.read_env(path, "APP_HTTPS_ACCESS").values())[0]