From 76662569206b8e4d0e4b98fa7c7116e0906947ff Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Fri, 15 Sep 2023 16:05:27 +0200 Subject: [PATCH] clean code --- Dockerfile | 3 ++- geotrek/settings/base.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index afda743211..f9426c6c9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN apt-get update -qq && apt-get install -y -qq \ nano \ curl \ git \ + iproute2 \ software-properties-common \ shared-mime-info \ fonts-liberation \ @@ -58,6 +59,6 @@ COPY --chown=geotrek:geotrek docker/* /usr/local/bin/ ENTRYPOINT ["/bin/sh", "-e", "/usr/local/bin/entrypoint.sh"] EXPOSE 8000 -RUN ENV=dev CONVERSION_HOST=localhost CAPTURE_HOST=localhost CUSTOM_SETTINGS_FILE= SECRET_KEY=tmp /opt/venv/bin/python ./manage.py compilemessages +RUN ENV=dev CUSTOM_SETTINGS_FILE= SECRET_KEY=tmp /opt/venv/bin/python ./manage.py compilemessages CMD ["gunicorn", "geotrek.wsgi:application", "--bind=0.0.0.0:8000"] diff --git a/geotrek/settings/base.py b/geotrek/settings/base.py index eecc0ed52b..69b6c85086 100644 --- a/geotrek/settings/base.py +++ b/geotrek/settings/base.py @@ -696,8 +696,6 @@ def api_bbox(bbox, buffer): FACEBOOK_IMAGE_WIDTH = 200 FACEBOOK_IMAGE_HEIGHT = 200 -CAPTURE_AUTOLOGIN_TOKEN = os.getenv('CAPTURE_AUTOLOGIN_TOKEN', None) - # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False.