功能: 按用户同步斗鱼工作台
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user