diff --git a/.dockerignore b/.dockerignore index 012ed81..71f6e64 100644 --- a/.dockerignore +++ b/.dockerignore @@ -27,5 +27,4 @@ uploads !.env.example # 前端 UI 目录(按需排除,如不需要可删) -/ui -/public \ No newline at end of file +/ui \ No newline at end of file diff --git a/.env b/.env index 3e0f904..7b6659b 100644 --- a/.env +++ b/.env @@ -22,7 +22,7 @@ FASTAPI_ENV=development # 是否DEBUG模式 - True:开启调试(详细错误日志),False:关闭 FASTAPI_DEBUG=True # 是否DEMO模式 - True:演示模式(限制写操作),False:正常模式 -FASTAPI_DEMO=True +FASTAPI_DEMO=False # 应用文件上传路径 - 用户上传文件的物理存储目录 # 默认取项目根目录下的 uploads # FASTAPI_UPLOAD_DIR=/data/apps/uploads