From e4d0ac33ecfaf6c48cf4d747d88b9497b4cb3bcb Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 5 Jan 2025 20:54:52 +0000 Subject: local dev docker config tweak --- Dockerfile | 2 +- config/settings/local.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76cd4b0..a07ae5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ WORKDIR /app EXPOSE 8010 # Define environment variable -ENV DJANGO_SETTINGS_MODULE=config.settings.production +ENV DJANGO_SETTINGS_MODULE=config.settings.local ENV DJANGO_READ_DOT_ENV_FILE=True ENV DEBUG=True diff --git a/config/settings/local.py b/config/settings/local.py index 07f38f9..9174857 100644 --- a/config/settings/local.py +++ b/config/settings/local.py @@ -14,7 +14,7 @@ SECRET_KEY = env( default="4MZuqVXy7rToppiUhiTBxzlQH8OxPDDmu4rsTqFiyAyLF50WPBVzX5ZFBLpwJPyY", ) # https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts -ALLOWED_HOSTS = ["localhost", "0.0.0.0", "127.0.0.1"] # noqa: S104 +ALLOWED_HOSTS = ["*"] # noqa: S104 # CACHES # ------------------------------------------------------------------------------ -- cgit v1.2.3