Commit c14f9c68 by 晏艳红

移除Docker Compose文件中过时的version字段

- 从docker-compose.yml和docker-compose.prod.yml中移除version字段
- Docker Compose V2不再需要version字段
- 更新README-Docker.md说明Compose V2特性
- 消除启动时的警告信息
parent d0045a57
......@@ -9,6 +9,13 @@
- Docker Desktop 4.0+ (内置 Compose V2)
- 或 Docker Engine 20.10+ + Docker Compose V2 插件
### 🆕 Compose V2 特性
- 移除了 `version` 字段(不再需要)
- 更快的启动速度
- 改进的错误信息
- 更好的资源管理
### 🔍 版本检查
```bash
......
version: '3.8'
services:
# 绩效计分系统前端服务 - 生产环境配置
performance-score-frontend:
......
version: '3.8'
services:
# 绩效计分系统前端服务
performance-score-frontend:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment