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" }