14 lines
357 B
Python
14 lines
357 B
Python
|
|
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
|
||
|
|
|
||
|
|
model_config = {"env_file": ".env"}
|
||
|
|
|
||
|
|
|
||
|
|
settings = Settings()
|