feat: KVM虚拟化管理平台初始版本
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user