fix: docker compose settings, provide key

This commit is contained in:
Markos Gogoulos
2026-05-11 14:13:56 +03:00
parent 09ead87884
commit 318dad0e5d
3 changed files with 24 additions and 7 deletions
-3
View File
@@ -1,10 +1,7 @@
import os
from django.core.management.utils import get_random_secret_key
FRONTEND_HOST = os.getenv('FRONTEND_HOST', 'http://localhost')
PORTAL_NAME = os.getenv('PORTAL_NAME', 'MediaCMS')
SECRET_KEY = os.getenv('SECRET_KEY') or get_random_secret_key()
REDIS_LOCATION = os.getenv('REDIS_LOCATION', 'redis://redis:6379/1')
DATABASES = {