From b38906aec0e13fc096587ba0c97c0c6258a4be2c Mon Sep 17 00:00:00 2001 From: xwt Date: Mon, 21 Sep 2026 19:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 2 +- .env.example | 8 -------- Docker使用说明.md | 2 +- ai.local.example.json | 2 +- 4 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 .env.example diff --git a/.dockerignore b/.dockerignore index 662a17b..d509661 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,7 +9,7 @@ artifacts tests scripts .env -.env.* +.env ai.local.json *.log *.sql diff --git a/.env.example b/.env.example deleted file mode 100644 index dc887ca..0000000 --- a/.env.example +++ /dev/null @@ -1,8 +0,0 @@ -APP_PORT=8004 -DB_PORT=3306 -DB_NAME=student_management_system -DB_USER=root -DB_PASSWORD=replace_with_your_existing_mysql_password -# AI 默认只读挂载现有 ai.local.json,也可以设置以下环境变量覆盖。 -DEEPSEEK_API_KEY= -DEEPSEEK_MODEL= diff --git a/Docker使用说明.md b/Docker使用说明.md index 399ddd7..252a499 100644 --- a/Docker使用说明.md +++ b/Docker使用说明.md @@ -11,7 +11,7 @@ 4. 保留项目中的 `ai.local.json`;新电脑没有该文件时,复制 `ai.local.example.json` 为 `ai.local.json` 并按需配置 AI。 ```powershell -Set-Location 'D:\python编程\student_management_system' +Set-Location 'D:\xwt0803\fastoffer\student_management_system' docker compose up -d --build docker compose ps ``` diff --git a/ai.local.example.json b/ai.local.example.json index 59ab740..fa42885 100644 --- a/ai.local.example.json +++ b/ai.local.example.json @@ -1,4 +1,4 @@ { - "api_key": "", + "api_key": "sk-7d3a24128a004670a47970aa07eb49da", "model": "deepseek-flash" }