mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
datetime
This commit is contained in:
parent
03ad3d7496
commit
f23b1a78c9
@ -10,7 +10,7 @@ COPY static ./static
|
|||||||
COPY requirements.txt main.py ./
|
COPY requirements.txt main.py ./
|
||||||
RUN apt update
|
RUN apt update
|
||||||
|
|
||||||
# Install supervisord
|
# Install supervisords
|
||||||
RUN apt install -y supervisor
|
RUN apt install -y supervisor
|
||||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||||
COPY config/cmd.sh /cmd.sh
|
COPY config/cmd.sh /cmd.sh
|
||||||
|
@ -362,6 +362,7 @@ def get_apps_from_compose():
|
|||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
replace = list(docker.read_env(path, "APP_URL_REPLACE").values())[0]
|
replace = list(docker.read_env(path, "APP_URL_REPLACE").values())[0]
|
||||||
|
myLogger.info_logger("replace="+replace)
|
||||||
if replace == "true":
|
if replace == "true":
|
||||||
app_replace_url = True
|
app_replace_url = True
|
||||||
https = list(docker.read_env(path, "APP_HTTPS_ACCESS").values())[0]
|
https = list(docker.read_env(path, "APP_HTTPS_ACCESS").values())[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user