freeleaps-service-hub/apps/authentication/common/config/app_settings.py
2024-10-30 07:22:26 -07:00

21 lines
427 B
Python

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()