feat(deploy): 隔离上传目录 uploads_prod,清理部署脚本无效排除项

This commit is contained in:
2026-08-13 10:34:50 +08:00
parent 11ae3260ac
commit 77137cfced
3 changed files with 1 additions and 2 deletions

View File

@ -48,6 +48,7 @@ services:
- "8011:8000"
volumes:
- ./backend:/app
- ./uploads_prod:/app/uploads # 👈 新增这一行!强制隔离上传目录
command: >
sh -c "uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 4 --log-level info"
depends_on: