- Update session-context.md with exact resume point for next session - Update settings.local.json with broader git permissions - feature/grundstruktur merged to develop - PAT authentication configured Version: 0.2.3
22 lines
611 B
Python
22 lines
611 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
model_config = SettingsConfigDict(
|
|
env_file=".env",
|
|
env_file_encoding="utf-8",
|
|
case_sensitive=True,
|
|
)
|
|
|
|
DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@localhost:5432/gartenmanager"
|
|
SECRET_KEY: str = "change-me-in-production-use-a-long-random-string"
|
|
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
|
|
REFRESH_TOKEN_EXPIRE_DAYS: int = 7
|
|
|
|
CORS_ORIGINS: list[str] = ["*"]
|
|
APP_TITLE: str = "Gartenmanager API"
|
|
APP_VERSION: str = "1.0.0"
|
|
|
|
|
|
settings = Settings()
|