feat: backend env config upgrade - multi-env (dev/prod), DB_* support, Docker compatible
Some checks failed
Build and Deploy / test-backend (push) Has been cancelled
Build and Deploy / build-backend (push) Has been cancelled
Build and Deploy / build-admin (push) Has been cancelled
Deploy to Production / build-backend (push) Has been cancelled
Deploy to Production / deploy (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
bujie9527
2026-02-06 12:07:02 +08:00
parent 91c3d75557
commit b715755b76
11 changed files with 141 additions and 35 deletions

View File

@@ -61,8 +61,13 @@ services:
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
# 注意:镜像构建时已经包含了配置,无需挂载
# 如果需要覆盖配置,取消下面的注释并确保 nginx.conf 路径正确
# volumes:
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
environment:
- NGINX_HOST=_
- NGINX_PORT=80
depends_on:
- backend
- admin