DAS_2024_1/agliullov_daniyar_lab_3/user_service/config.py
2024-12-31 08:10:29 +04:00

22 lines
497 B
Python

import os
import logging
from dotenv import load_dotenv
load_dotenv()
DB_HOST = os.environ.get("DB_HOST")
DB_PORT = os.environ.get("DB_PORT")
DB_NAME = os.environ.get("DB_NAME")
DB_USER = os.environ.get("DB_USER")
DB_PASS = os.environ.get("DB_PASS")
SECRET_AUTH_TOKEN = os.environ.get("SECRET_AUTH_TOKEN")
SECRET_VERIFICATE_TOKEN = os.environ.get("SECRET_VERIFICATE_TOKEN")
DEVICE_START_COUNTER = os.environ.get("DEVICE_START_COUNTER")
logging.getLogger('passlib').setLevel(logging.ERROR)