功能: 按用户同步斗鱼工作台

This commit is contained in:
yml2213
2026-08-13 15:47:07 +08:00
parent 090698e6b2
commit cf3fe68de3
14 changed files with 503 additions and 44 deletions
+4
View File
@@ -6,6 +6,10 @@ if [ "$#" -gt 0 ]; then
exec "$@"
fi
echo "正在执行数据库迁移..."
python -c 'from web.backend.database import run_migrations; run_migrations()'
echo "数据库迁移完成"
# Worker 仅监听容器回环地址,Web 后端通过 127.0.0.1 调用。
python /app/services/yyb-worker/runtime/scripts/yyb-worker.py \
--host 127.0.0.1 \