update
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
toom1996
2026-08-11 22:29:47 +08:00
commit 5a8dbf41cb
62 changed files with 9514 additions and 0 deletions

15
.env.example Normal file
View File

@ -0,0 +1,15 @@
# 复制为 .env 后按需修改docker-compose 自动读取)
# 注意:不要提交真实密钥;.env 已在 .dockerignore 中排除
# ---- 后端数据库 ----
DB_PASSWORD=root
DB_USER=root
DB_NAME=fashionadmin
# ---- 后端 JWT 密钥(生产务必改为随机长字符串)----
JWT_SECRET=change-me-in-prod
# 说明:
# - 前端构建期通过 compose 的 build.args.API_SSR=http://localhost:8090 拉数据
# - 前端运行期走同源 /apinginx 反代到 backend:8090PUBLIC_API_BASE 在 Dockerfile 中置空
# - backend 监听 8090生产建议去掉 ports 暴露,仅由前端 nginx 反代访问