feat(deploy): 隔离上传目录 uploads_prod,清理部署脚本无效排除项
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user