mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 22:17:48 +01:00
19 lines
436 B
Python
19 lines
436 B
Python
from decouple import config
|
|
|
|
SECRET_KEY = config('SECRET_KEY')
|
|
|
|
INSTALLED_APPS = [
|
|
'ft_transcendence',
|
|
]
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql',
|
|
'NAME': config('POSTGRES_DB'),
|
|
'USER': config('POSTGRES_USER'),
|
|
'PASSWORD': config('POSTGRES_PASSWORD'),
|
|
'HOST': config('DB_HOST', default='localhost'),
|
|
'PORT': config('DB_PORT', default='3306'),
|
|
}
|
|
}
|