diff --git a/config.py b/config.py deleted file mode 100644 index 00c3738..0000000 --- a/config.py +++ /dev/null @@ -1,25 +0,0 @@ -from pydantic_settings import BaseSettings - - -class Settings(BaseSettings): - # Общие - database_url: str = "sqlite:///./panel.db" - secret_key: str = "change-me-please-super-secret" - access_token_expire_minutes: int = 60 * 12 - - # Proxmox - pve_host: str = "https://proxmox.local:8006" - pve_token_name: str = "root@pam!panel" - pve_token_value: str = "" - pve_verify_ssl: bool = False - pve_node: str = "pve" - - # Пул VMID, из которого будут выделяться номера новым машинам - vmid_range_start: int = 9000 - vmid_range_end: int = 9999 - - class Config: - env_file = ".env" - - -settings = Settings()