mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
refactor
This commit is contained in:
1 parent
5e3474dd59
commit
e4d59a13ba
119 files changed
+15490
-9975
No files matched your search
+12
-1
@@ -2,15 +2,26 @@
|
||||
# Your primary domain (e.g., example.com). Used to derive ALLOWED_HOSTS, CORS, and CSRF settings.
|
||||
DOMAIN="localhost"
|
||||
|
||||
# Set to a long, random string in production (e.g. 50+ chars)
|
||||
# Set to a long, random string in production (e.g. 50+ chars). REQUIRED in prod.
|
||||
SECRET_KEY="django-insecure-replace-this-in-production"
|
||||
|
||||
# Which settings module to load. Use holy_backend.settings.dev locally,
|
||||
# holy_backend.settings.prod in production (Docker compose sets this).
|
||||
DJANGO_SETTINGS_MODULE=holy_backend.settings.dev
|
||||
|
||||
# Set to "false" in production for security and performance
|
||||
DEBUG=true
|
||||
|
||||
# Custom URL for the Django Admin interface (e.g., my-secret-admin/)
|
||||
ADMIN_URL="admin"
|
||||
|
||||
# --- Celery / Redis ---
|
||||
# Broker and result backend for background jobs. Docker compose defaults to the bundled redis service.
|
||||
CELERY_BROKER_URL=redis://redis:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://redis:6379/0
|
||||
# Run tasks synchronously (useful for local dev or CI). Unset in production.
|
||||
# CELERY_TASK_ALWAYS_EAGER=true
|
||||
|
||||
# --- Advanced Networking (Optional, derived from DOMAIN if unset) ---
|
||||
# ALLOWED_HOSTS=example.com,another-domain.com
|
||||
# CSRF_TRUSTED_ORIGINS=https://example.com
|
||||
|
||||
Reference in new issue
Block a user