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_PASSWORD
for PostgreSQLMINIO_ROOT_USER
andMINIO_ROOT_PASSWORD
for MinIO ROOT userAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
for MinIO user to access S3 bucket from MLflowMLFLOW_TRACKING_USERNAME
andMLFLOW_TRACKING_PASSWORD
for MLflow admin, initial from MLflow AuthenticationMLFLOW_TRACKING_NEW_PASSWORD
update password for MLflow admin
- Run
docker-compose up -d
- Access MinIO GUI at http://localhost:9000 with
MINIO_ROOT_USER
andMINIO_ROOT_PASSWORD
- Access MLflow at http://localhost:5000 with
MLFLOW_TRACKING_USERNAME
andMLFLOW_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.conf
refer to Configure NGINX Proxy for MinIO Server - Chagne
DOMAIN
in.env
to your domain - Run
docker-compose up -d
- Access MinIO GUI at
https://DOMAIN/minio/ui/
withMINIO_ROOT_USER
andMINIO_ROOT_PASSWORD
- Access MLflow at
https://DOMAIN/mlflow/
withMLFLOW_TRACKING_USERNAME
andMLFLOW_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.