aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2025-01-05 20:54:52 +0000
committerMatthew Lemon <y@yulqen.org>2025-01-05 20:54:52 +0000
commite4d0ac33ecfaf6c48cf4d747d88b9497b4cb3bcb (patch)
tree99ebcc1970dda557d9ea5210de57d96d45ab1235
parent6e8c107088fc9749e9ae6ebb31b3ee4f06447db6 (diff)
local dev docker config tweak
-rw-r--r--Dockerfile2
-rw-r--r--config/settings/local.py2
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
# ------------------------------------------------------------------------------