update settings
This commit is contained in:
+7
-7
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
DEBUG = True # keep debug true to set the database to sqlite
|
DEBUG = True # keep debug true to set the database to sqlite
|
||||||
# postgres database info
|
# postgres database info
|
||||||
DB_NAME = ''
|
DB_NAME = 'hshop'
|
||||||
DB_USER = ''
|
DB_USER = 'byeto'
|
||||||
DB_PASSWORD = ''
|
DB_PASSWORD = 'vuhbyq-cypMu0-sirbon'
|
||||||
DB_HOST = ''
|
DB_HOST = 'db'
|
||||||
DB_PORT = ''
|
DB_PORT = '5434'
|
||||||
SECRET_KEY = '2h&gmi54wqauwqht48l-9c)r6_67_(oe_$ll%(+xz%u#)+of@d'
|
SECRET_KEY = '2h&gmi54wqauwqht48l-9c)r6_67_(oe_$ll%(+xz%u#)+of@d'
|
||||||
# email stuff
|
# email stuff
|
||||||
EMAIL_BACKEND = ''
|
EMAIL_BACKEND = ''
|
||||||
@@ -17,9 +17,9 @@ DEFAULT_FROM_EMAIL = ''
|
|||||||
# telegram bot toekn
|
# telegram bot toekn
|
||||||
TELEGRAM_BOT_TOKEN = ''
|
TELEGRAM_BOT_TOKEN = ''
|
||||||
# domain for allowed host and allowed cors
|
# domain for allowed host and allowed cors
|
||||||
DOMAIN = ''
|
DOMAIN = '38.60.202.91'
|
||||||
# domain for api (the domain that django will use)
|
# domain for api (the domain that django will use)
|
||||||
API_DOMAIN = ''
|
API_DOMAIN = '38.60.202.91'
|
||||||
SITE_TITLE = ''
|
SITE_TITLE = ''
|
||||||
SITE_HEADER = ''
|
SITE_HEADER = ''
|
||||||
# jwt token configs
|
# jwt token configs
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ if not DEBUG:
|
|||||||
]
|
]
|
||||||
CORS_ALLOWED_ORIGINS = [f"https://{API_DOMAIN}", f"http://{API_DOMAIN}",
|
CORS_ALLOWED_ORIGINS = [f"https://{API_DOMAIN}", f"http://{API_DOMAIN}",
|
||||||
f"http://{DOMAIN}", f"https://{DOMAIN}", ]
|
f"http://{DOMAIN}", f"https://{DOMAIN}", ]
|
||||||
|
|
||||||
# database postgres
|
# database postgres
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
|||||||
Reference in New Issue
Block a user