chore: initial commit — leaudit-platform project skeleton
17-table PostgreSQL schema with full Chinese column comments, FastAPI project structure (admin/common/modules), DSL rule files, and schema migration scripts.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
"""类型存根 —— 为 IDE 提供动态导出变量的类型信息。"""
|
||||
|
||||
# APP
|
||||
APP_NAME: str
|
||||
APP_HOST: str
|
||||
APP_PORT: int
|
||||
APP_CORS_ORIGINS: str
|
||||
|
||||
# JWT
|
||||
JWT_SECRET_KEY: str
|
||||
JWT_ACCESS_TOKEN_EXPIRE_HOURS: int
|
||||
JWT_ALGORITHM: str
|
||||
|
||||
# DB
|
||||
DB_HOST: str
|
||||
DB_PORT: int
|
||||
DB_NAME: str
|
||||
DB_USER: str
|
||||
DB_PASSWORD: str
|
||||
ASYNCPG_DATABASE_URL: str
|
||||
|
||||
# Redis
|
||||
REDIS_HOST: str
|
||||
REDIS_PORT: int
|
||||
REDIS_DB: int
|
||||
REDIS_PASSWORD: str
|
||||
|
||||
# OSS
|
||||
OSS_ENDPOINT: str
|
||||
OSS_ACCESS_KEY: str
|
||||
OSS_SECRET_KEY: str
|
||||
OSS_BUCKET: str
|
||||
OSS_REGION: str
|
||||
|
||||
# LLM
|
||||
LLM_BASE_URL: str
|
||||
LLM_MODEL: str
|
||||
LLM_API_KEY: str
|
||||
|
||||
# VLM
|
||||
VLM_BASE_URL: str
|
||||
VLM_MODEL: str
|
||||
|
||||
# OCR
|
||||
OCR_BASE_URL: str
|
||||
OCR_TIMEOUT: int
|
||||
|
||||
# LEAUDIT
|
||||
LEAUDIT_RULES_DIR: str
|
||||
LEAUDIT_RESCUE_MODE: str
|
||||
LEAUDIT_LLM_MAX_CONCURRENCY: int
|
||||
LEAUDIT_VLM_MAX_CONCURRENCY: int
|
||||
|
||||
# 常量
|
||||
ROOT_PATH: object
|
||||
Reference in New Issue
Block a user