2026-03-04 22:01:58 +03:00
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
|
|
|
DATABASE_URL: str = "mysql+pymysql://evosync:evosync@localhost:3306/evosync"
|
|
|
|
|
SECRET_KEY: str = "change-me-in-production"
|
|
|
|
|
BASE_URL: str = "http://localhost:8000"
|
|
|
|
|
PASSWORD_RESET_EXPIRE_MINUTES: int = 60
|
|
|
|
|
|
2026-03-05 21:05:30 +03:00
|
|
|
model_config = {"env_file": ".env", "case_sensitive": False}
|
2026-03-04 22:01:58 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
settings = Settings()
|