docs: PostgreSQL 版本从 16 升级为 17
所有文档统一更新 PostgreSQL 版本号为 17, 17 版本已发布超过一年,足够稳定且性能更优。 Made-with: Cursor
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
| 前台前端 | uniapp (Vue 3) + mediasoup-client |
|
||||
| 后台前端 | 独立 Vue 3 + Vite + Element Plus(PC 端专注) |
|
||||
| 媒体层 | Node.js + mediasoup(保留官方 Node 中间层) |
|
||||
| 存储 | PostgreSQL 16 + Redis 7 |
|
||||
| 存储 | PostgreSQL 17 + Redis 7 |
|
||||
| 认证 | 邮箱+密码、用户名+密码(微信授权后期迭代) |
|
||||
| MVP 功能 | 用户体系、即时聊天、好友管理、音视频会议、消息通知 |
|
||||
| 多端优先级 | H5 > 桌面端 > 微信小程序 > Android |
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
**架构:** Go 单体模块化服务 + uniapp 前台 + Vue3 管理端 + PostgreSQL + Redis,Docker Compose 编排。
|
||||
|
||||
**技术栈:** Go 1.22+ (Gin + GORM + Wire + zap) / Vue 3.4+ / uniapp 3.0 / Element Plus / PostgreSQL 16 / Redis 7 / Docker Compose
|
||||
**技术栈:** Go 1.22+ (Gin + GORM + Wire + zap) / Vue 3.4+ / uniapp 3.0 / Element Plus / PostgreSQL 17 / Redis 7 / Docker Compose
|
||||
|
||||
**设计文档:** `docs/plans/2026-02-27-echochat-system-design.md`
|
||||
|
||||
@@ -22,14 +22,14 @@
|
||||
|
||||
**Step 1: 创建 Docker Compose 开发环境配置**
|
||||
|
||||
创建 `deploy/docker-compose.dev.yml`,包含 PostgreSQL 16 和 Redis 7 两个服务:
|
||||
创建 `deploy/docker-compose.dev.yml`,包含 PostgreSQL 17 和 Redis 7 两个服务:
|
||||
|
||||
```yaml
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
image: postgres:17-alpine
|
||||
container_name: echochat-postgres
|
||||
environment:
|
||||
POSTGRES_DB: echochat
|
||||
|
||||
Reference in New Issue
Block a user