This commit is contained in:
qiaofeng1227 2023-05-23 10:47:48 +08:00
parent 9b399efd8d
commit d6053569a3
2 changed files with 3 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

@ -355,7 +355,9 @@ def get_apps_from_compose():
# get env info
path = app_path + "/.env"
env_map = docker.get_map(path)
try:
myLogger.info_logger("get domain for APP_URL")
domain = env_map.get("APP_URL")
if "appname.example.com" in domain or ip in domain:
default_domain = ""