ZAuth / client /config /settings.py
Martin Natale
Migrate background image to LFS
b1fb35d
raw
history blame contribute delete
385 Bytes
from pydantic_settings import BaseSettings
from pydantic import Field
class Settings(BaseSettings):
"""
Config values for the service. Values are set automatically if a .env file is found
in the directory root.
"""
SERVICE_PORT: int | None = Field(default=7860)
TEMP_VIDEO_PATH: str = Field(default="/tmp/video.webm")
settings = Settings() # type: ignore