File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747- ** 安全 & 认证** : Spring Security OAuth2 Client 6.x
4848- ** 数据库** : PostgreSQL 18 (与 NEON 环境一致)
4949- ** AI 抽象** : OpenAI Responses API (支持流式转发)
50- - ** 中间件** : Redis 7, Caddy 2.10
50+ - ** 中间件** : Caddy 2.10
5151- ** 构建工具** : Maven 3.9+, GraalVM Build Tools
5252
5353## 目录概览
5454
5555``` text
5656.
5757├── .mvn/ # Maven Wrapper 配置
58- ├── docker-compose.yml # 中间件编排 (Postgres, Redis, Caddy, Backend)
58+ ├── docker-compose.yml # 中间件编排 (Postgres, Caddy, Backend)
5959├── docker/init-db/init.sql # 数据库初始化脚本 (含 Schema 与种子数据)
6060├── src/
6161│ ├── main/
@@ -83,9 +83,9 @@ cp .env.example .env
8383为了避免繁琐的本地数据库安装和环境变量配置,推荐使用 Docker 一键运行:
8484
8585``` bash
86- # 启动 PostgreSQL 18 与 Redis 7
86+ # 启动 PostgreSQL 18
8787# 此操作会自动创建 Schema 并初始化种子数据 (一致性与 NEON 保持同步)
88- docker compose up -d postgres redis
88+ docker compose up -d postgres
8989```
9090
9191### 3. 配置 GitHub OAuth(首次必做)
You can’t perform that action at this time.
0 commit comments