from pydantic_settings import BaseSettings class AppSettings(BaseSettings): NAME: str = "central_storage" GITEA_URL: str = "" GITEA_TOKEN: str = "" GITEA_DEPOT_ORGANIZATION: str = "" CODE_DEPOT_DOMAIN_NAME: str = "" CODE_DEPOT_SSH_PORT: str = "" CODE_DEPOT_HTTP_PORT: str = "" class Config: env_file = ".myapp.env" env_file_encoding = "utf-8" app_settings = AppSettings()