Files
mlflow-practice/start_ui.sh
T
2026-07-20 14:10:12 +03:00

29 lines
833 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# ============================================================
# Запуск MLflow Tracking Server с SQLite backend
# Откройте в браузере: http://localhost:5000
# ============================================================
set -e
cd "$(dirname "$0")"
echo "🚀 Запускаем MLflow Tracking Server..."
echo " UI: http://10.0.0.7:5000"
echo " DB: sqlite:///mlflow.db"
echo " Artifacts: ./artifacts"
echo ""
echo " Нажмите Ctrl+C для остановки"
echo ""
export MLFLOW_ALLOW_ORIGIN="*"
mlflow server \
--backend-store-uri sqlite:///mlflow.db \
--default-artifact-root ./artifacts \
--serve-artifacts \
--allowed-hosts "*" \
--cors-allowed-origins "*" \
--artifacts-destination ./artifacts \
--host 0.0.0.0 \
--port 5000 \
--dev