MLflow Server with Authentication
This is an update version from Toumash/mlflow-docker
- Add reverse proxy for MinIO and MLflow
- MLflow server
- MinIO GUI as artifact storage
- PostgreSQL as mlflow storage
- scripts to create user and assign policy for MinIO
- scripts to creaet s3 bucket
- automated update password for MLflow admin
- test log experiment to MLflow
- Change parameter in
.env, expetially for password and secret keyPOSTGRES_USER,POSTGRES_PASSWORDfor PostgreSQLMINIO_ROOT_USERandMINIO_ROOT_PASSWORDfor MinIO ROOT userAWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYfor MinIO user to access S3 bucket from MLflowMLFLOW_TRACKING_USERNAMEandMLFLOW_TRACKING_PASSWORDfor MLflow admin, initial from MLflow AuthenticationMLFLOW_TRACKING_NEW_PASSWORDupdate password for MLflow admin
- Run
docker-compose up -d - Access MinIO GUI at http://localhost:9000 with
MINIO_ROOT_USERandMINIO_ROOT_PASSWORD - Access MLflow at http://localhost:5000 with
MLFLOW_TRACKING_USERNAMEandMLFLOW_TRACKING_NEW_PASSWORD
- How To Install Nginx on Ubuntu 20.04 with server blocks
- How To Secure Nginx with Let's Encrypt on Ubuntu 20.04
- Configuration for Nginx
/etc/nginx/sites-available/__servername__fromnginx.confrefer to Configure NGINX Proxy for MinIO Server - Chagne
DOMAINin.envto your domain - Run
docker-compose up -d - Access MinIO GUI at
https://DOMAIN/minio/ui/withMINIO_ROOT_USERandMINIO_ROOT_PASSWORD - Access MLflow at
https://DOMAIN/mlflow/withMLFLOW_TRACKING_USERNAMEandMLFLOW_TRACKING_NEW_PASSWORD
- For Authentication, this feature is available in MLflow version 2.13.0 but this feature is still experimental and may change in a future release without warning.