To enable user authentication and authorisation in MLflow, you will need to provide the following environement variables located in this Docker Compose file:
- MLFLOW_BASIC_AUTH_ENABLED=true
- MLFLOW_AUTH_CONFIG_PATH=/opt/auth/basic_auth.ini
Additionally, ensure you set the appropriate values in the default basic auth file before buiding the image and firing up a container based off it. For detailed information on authentication, please refer to the official documentation.