security: .env 移出 git 跟踪(本地文件保留)
柴进 2026-11-18 决定:.env 留在本地、只移出跟踪,不轮换密码。 部署不依赖它:55 用 green.env,镜像经 .dockerignore 已排除。 注意:历史提交里仍可见旧内容(知情接受)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Showing
2 changed files
with
3 additions
and
13 deletions
.env
deleted
100644 → 0
| 1 | # MySQL Database Configuration | ||
| 2 | MYSQL_HOST=rm-uf646gx03525t93adfoo1.mysql.rds.aliyuncs.com | ||
| 3 | MYSQL_USER=read_user | ||
| 4 | MYSQL_PASSWORD=uy6$*sg@N9!LD%!xEIR | ||
| 5 | MYSQL_DB=saas_design | ||
| 6 | |||
| 7 | # JWT Secret (shared with Java application) | ||
| 8 | JWT_SECRET="DJWZFOkIMG37MiitHlSTaiysHx3prSWBKtkXLR0P5Q86TcEV2HjTFvINLx5N2NPMoMKSjo1RDUjTnzTdiL2fEMkvViDBDKGAPVT46oQVG56JH9x7hRm6ZmPDxEuNPaUM" | ||
| 9 | |||
| 10 | # Optional: Override default config values | ||
| 11 | # SERVER_PORT=8088 | ||
| 12 | # SYNC_INTERVAL_SECONDS=60 | ||
| 13 | # LOG_LEVEL=INFO | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment