feat: KVM虚拟化管理平台初始版本

This commit is contained in:
admin
2026-04-30 15:51:48 +08:00
commit fac8ab7470
42 changed files with 5621 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
APP_NAME: str = "KVM Manager"
APP_VERSION: str = "1.0.0"
LIBVIRT_URI: str = "qemu:///system"
API_PREFIX: str = "/api"
SECRET_KEY: str = "kvm-manager-secret-key-change-in-production"
ALGORITHM: str = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440
class Config:
env_file = ".env"
settings = Settings()