Files
hossein-por-shop/backend/.env.local
T
2024-12-25 23:09:03 +03:30

29 lines
839 B
Bash

### keep the env name to .env.local if you want to change this .env name you should change it in django setting too when you load this env
DEBUG = True # keep debug true to set the database to sqlite
# postgres database info
DB_NAME = 'hshop'
DB_USER = 'byeto'
DB_PASSWORD = 'vuhbyq-cypMu0-sirbon'
DB_HOST = 'db'
DB_PORT = 5434
SECRET_KEY = '2h&gmi54wqauwqht48l-9c)r6_67_(oe_$ll%(+xz%u#)+of@d'
# email stuff
EMAIL_BACKEND = ''
EMAIL_HOST = ''
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
DEFAULT_FROM_EMAIL = ''
# telegram bot toekn
TELEGRAM_BOT_TOKEN = ''
# domain for allowed host and allowed cors
DOMAIN = '38.60.202.91'
# domain for api (the domain that django will use)
API_DOMAIN = '38.60.202.91'
SITE_TITLE = ''
SITE_HEADER = ''
# jwt token configs
ACCESS_TOKEN_LIFETIME = 5000
REFRESH_TOKEN_LIFETIME = 5000
SMS_API_KEY = ''