Ready to run docker-compose configuration for ML Flow with Mysql and Minio S3
If you want to boot up mlflow project with one-liner - this repo is for you. The only requirement is docker installed on your system and we are going to use Bash on linux/windows.
.env
file for your choice. You can put there anything you like, it will be used to configure you servicesdocker compose up
👇Video tutorial how to set it up + BONUS with Microsoft Azure 👇
For running mlflow files you need various environment variables set on the client side. To generate them use the convienience script ./bashrc_install.sh
, which installs it on your system or ./bashrc_generate.sh
, which just displays the config to copy & paste.
$ ./bashrc_install.sh
[ OK ] Successfully installed environment variables into your .bashrc!
The script installs this variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, MLFLOW_S3_ENDPOINT_URL, MLFLOW_TRACKING_URI. All of them are needed to use mlflow from the client-side.
--no-conda
mlflow run [email protected]:databricks/mlflow-example.git -P alpha=0.5
# or
python ./quickstart/mlflow_tracking.py
MLFLOW_S3_ENDPOINT_URL=http://localhost:9000 MLFLOW_TRACKING_URI=http://localhost:5000 mlflow run [email protected]:databricks/mlflow-example.git -P alpha=0.5
Copyright (c) 2021 Tomasz DÅ‚uski
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License by reviewing the file LICENSE in the repository.