背景:本地 PG/Redis 已按要求复用 docker-postgres-1 / docker-redis-1; S3 容器按用户要求删除,后续接入公网自建 RustFS。 改动: - 删除 infra/docker-compose.dev.yaml、infra/compose.dev.yaml - 移除 compose:up / compose:down 脚本,改用 check:dev 预检本机 PG/Redis - 新增 scripts/check-dev-deps.mjs;.env.example 的 S3_* 改为待填 - README / AGENTS / A0 报告同步本地依赖与对象存储说明 影响面:本地开发依赖与 CI 本地脚本、环境变量样例、文档。 回滚方式:恢复被删除的两个 compose 文件与 package.json 脚本即可。 验证:format:check、lint、pnpm ci:local(含 e2e 4/4)全部通过,用时 106.3s。
This commit is contained in:
1 parent
620cb93a46
commit
5628e158c0
9 files changed
+85
-57
No files matched your search
+4
-4
@@ -1,7 +1,7 @@
|
||||
# 灵犀 · 环境变量示例(入库,禁止写真实密钥)
|
||||
# 使用:cp .env.example .env.local(工程规范 09 ENV-09)
|
||||
# 注意:本地 PostgreSQL/Redis 复用本机已有 Docker 服务(127.0.0.1:5432 / 6379);
|
||||
# S3 兼容服务由 infra/docker-compose.dev.yaml 提供(19000/19001)。
|
||||
# 对象存储待接入公网 RustFS,待提供 endpoint 与凭据后填写。
|
||||
|
||||
# ---------- 运行环境 ----------
|
||||
NODE_ENV=development
|
||||
@@ -14,13 +14,13 @@ DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/lingxi?schema=public
|
||||
REDIS_URL=redis://127.0.0.1:6379
|
||||
|
||||
# ---------- 对象存储(MinIO,S3 协议) ----------
|
||||
S3_ENDPOINT=http://127.0.0.1:19000
|
||||
S3_ENDPOINT=
|
||||
S3_REGION=us-east-1
|
||||
S3_BUCKET_ASSETS=assets
|
||||
S3_BUCKET_RENDERS=renders
|
||||
S3_BUCKET_TEMP=temp
|
||||
S3_ACCESS_KEY=lingxi
|
||||
S3_SECRET_KEY=lingxi_dev_password
|
||||
S3_ACCESS_KEY=
|
||||
S3_SECRET_KEY=
|
||||
|
||||
# ---------- 认证(本地 dev 值,生产由密钥管理注入) ----------
|
||||
JWT_SECRET=dev-only-jwt-secret-change-me-32chars
|
||||
|
||||
Reference in new issue
Block a user