Распаковал архив Proxmox-VPS-Panel.rar и добавил содержимое в репозиторий

This commit is contained in:
root
2026-07-24 15:10:47 +00:00
parent 0372e2c5f1
commit ac74a700ce
37 changed files with 2353 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
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()