from pydantic_settings import BaseSettings, SettingsConfigDict class Settings(BaseSettings): model_config = SettingsConfigDict(env_file=".env", case_sensitive=True, extra="ignore") DATABASE_URL: str DATABASE_URL_SYNC: str REDIS_URL: str SECRET_KEY: str ALGORITHM: str = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440 * 7 # 7 gün APP_NAME: str = "Stepstead" APP_URL: str = "https://stepstead.com" API_URL: str = "https://api.stepstead.com" DEBUG: bool = False SMTP_HOST: str = "127.0.0.1" SMTP_PORT: int = 587 SMTP_USER: str = "" SMTP_PASSWORD: str = "" SMTP_FROM: str = "Stepstead " SMTP_TLS: bool = True MAX_STEPS_PER_MINUTE: int = 200 STEP_SYNC_WINDOW_SECONDS: int = 60 SKILL_NAMES: list[str] = [ "mining", "fishing", "foraging", "woodcutting", "hunting", "combat", "smithing", "alchemy", "cooking", "construction", ] settings = Settings()