Распаковал архив Proxmox-VPS-Panel.rar и добавил содержимое в репозиторий
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user