Compare commits
2 Commits
35f364263f
...
f8542a6d7a
| Author | SHA1 | Date | |
|---|---|---|---|
| f8542a6d7a | |||
| 0a5a5fa800 |
@ -77,24 +77,24 @@ if not DEBUG:
|
||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': BASE_DIR / 'db.sqlite3',
|
||||
}
|
||||
}
|
||||
|
||||
# DATABASES = {
|
||||
# 'default': {
|
||||
# 'ENGINE': 'django.db.backends.postgresql',
|
||||
# 'NAME': os.getenv('POSTGRES_DB'),
|
||||
# 'USER': os.getenv('POSTGRES_USER'),
|
||||
# 'PASSWORD': os.getenv('POSTGRES_PASSWORD'),
|
||||
# 'HOST': os.getenv('POSTGRES_HOST', 'postgres'),
|
||||
# 'PORT': os.getenv('POSTGRES_PORT', 5432),
|
||||
# 'ENGINE': 'django.db.backends.sqlite3',
|
||||
# 'NAME': BASE_DIR / 'db.sqlite3',
|
||||
# }
|
||||
# }
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': os.getenv('POSTGRES_DB'),
|
||||
'USER': os.getenv('POSTGRES_USER'),
|
||||
'PASSWORD': os.getenv('POSTGRES_PASSWORD'),
|
||||
'HOST': os.getenv('POSTGRES_HOST', 'postgres'),
|
||||
'PORT': os.getenv('POSTGRES_PORT', 5432),
|
||||
}
|
||||
}
|
||||
|
||||
ENCRYPTION_KEY = os.getenv('ENCRYPTION_KEY')
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user