An open API service indexing awesome lists of open source software.

https://github.com/mjun0812/mlflow-docker

A production-ready MLflow Tracking Server running on Docker compose with MySQL backend and S3-compatible artifact storage (RustFS).
https://github.com/mjun0812/mlflow-docker

docker docker-compose mlflow mlflow-tracking-server mysql rustfs

Last synced: 4 months ago
JSON representation

A production-ready MLflow Tracking Server running on Docker compose with MySQL backend and S3-compatible artifact storage (RustFS).

Awesome Lists containing this project

README

          

# MLflow-Docker

MLflow Tracking Server on Docker.

## Require

- Docker
- Docker Compose

## Install

Set hostname at mlflow server.

```bash
cp env.template .env
vim .env
```

```
VIRTUAL_HOST="example.com,localhost"
```

## Run

```bash
docker-compose up -d
```

```python
import mlflow
import os

MLFLOW_TRACKING_URI="http://example.com:5000"
MLFLOW_TRACKING_USERNAME="mlflow"
MLFLOW_TRACKING_PASSWORD="mlflow"

os.environ("MLFLOW_TRACKING_USERNAME") = MLFLOW_TRACKING_USERNAME
os.environ("MLFLOW_TRACKING_PASSWORD") = MLFLOW_TRACKING_PASSWORD

mlflow.set_tracking_uri(MLFLOW_TRACKING_URI)
```