Files
backend-v1/config/env.py
komoliddin 8a1a66a05d
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 2m9s
feat: add Didox service integration for company info retrieval
2026-04-21 13:05:45 +05:00

31 lines
765 B
Python

"""
Default value for environ variable
"""
import os
import environ
environ.Env.read_env(os.path.join(".env"))
env = environ.Env(
DEBUG=(bool, True),
CACHE_TIME=(int, 180),
OTP_EXPIRE_TIME=(int, 2),
VITE_LIVE=(bool, False),
ALLOWED_HOSTS=(str, "localhost"),
CSRF_TRUSTED_ORIGINS=(str, "localhost"),
DJANGO_SETTINGS_MODULE=(str, "config.settings.local"),
CACHE_TIMEOUT=(int, 120),
CACHE_ENABLED=(bool, False),
VITE_PORT=(int, 5173),
VITE_HOST=(str, "vite"),
NGROK_AUTHTOKEN=(str, "TOKEN"),
BOT_TOKEN=(str, "TOKEN"),
OTP_MODULE="core.services.otp",
OTP_SERVICE="EskizService",
PROJECT_ENV=(str, "prod"),
SILK_ENABLED=(bool, False),
DIDOX_PARTNER_TOKEN=(str),
)