chore: Update Docker and Django server configuration
This commit is contained in:
@@ -5,4 +5,6 @@ PGPASSWORD=''
|
||||
|
||||
SECRET_KEY='pleasechangethisbecauseifyoudontitwillbeverybadandyouwillgethackedinlessthanaminuteguaranteed'
|
||||
|
||||
PUBLIC_URL='http://127.0.0.1:8000'
|
||||
PUBLIC_URL='http://127.0.0.1:8000'
|
||||
|
||||
DEBUG=True
|
||||
@@ -25,7 +25,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
SECRET_KEY = getenv('SECRET_KEY')
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = getenv('DEBUG', 'True') == 'True'
|
||||
|
||||
# ALLOWED_HOSTS = [
|
||||
# 'localhost',
|
||||
|
||||
Reference in New Issue
Block a user