diff options
author | Matthew Lemon <y@yulqen.org> | 2025-01-05 20:54:52 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2025-01-05 20:54:52 +0000 |
commit | e4d0ac33ecfaf6c48cf4d747d88b9497b4cb3bcb (patch) | |
tree | 99ebcc1970dda557d9ea5210de57d96d45ab1235 | |
parent | 6e8c107088fc9749e9ae6ebb31b3ee4f06447db6 (diff) |
local dev docker config tweak
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | config/settings/local.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 # ------------------------------------------------------------------------------ |