cm-wisdom-cube/backend/app/core/config.py
2025-03-14 16:57:26 +08:00

12 lines
277 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
DATABASE_URL: str = "mysql+pymysql://root:root@localhost:3306/db_wisdom_cube?charset=utf8mb4"
DB_POOL_SIZE: int = 5
DB_MAX_OVERFLOW: int = 10
DEBUG: bool = False
settings = Settings()