Skip to content

feat: add MLflow template#761

Open
Rasaboun wants to merge 2 commits intoDokploy:canaryfrom
Rasaboun:feat/add-mlflow-template
Open

feat: add MLflow template#761
Rasaboun wants to merge 2 commits intoDokploy:canaryfrom
Rasaboun:feat/add-mlflow-template

Conversation

@Rasaboun
Copy link
Copy Markdown

@Rasaboun Rasaboun commented Mar 29, 2026

Adds a template for MLflow, the open source ML lifecycle platform

The setup includes 4 services

  • MLflow server (v3.10.1) for experiment tracking and model registry
  • PostgreSQL 15 as the backend store for metadata
  • RustFS for S3-compatible artifact storage
  • A one-shot init container that creates the S3 bucket on first deploy

All secrets (db password and S3 credentials) are auto-generated at deploy time through Dokploy helpers

Test plan

  • Deployed via Dokploy template import using PR preview URL
  • All 4 containers start and pass health checks
  • MLflow UI accessible and functional (Home, Experiments pages verified)
  • Default experiment auto-created on first boot

Deploy MLflow with PostgreSQL backend store and RustFS S3-compatible
artifact storage. Includes automatic bucket creation init container.

- MLflow v3.10.1 (ghcr.io/mlflow/mlflow)
- PostgreSQL 15 Alpine for experiment metadata
- RustFS 1.0.0-alpha.90 for artifact storage
- Auto-generated secrets for DB password and S3 credentials
- Health checks on all services
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 29, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview d089b0c

@Rasaboun Rasaboun marked this pull request as ready for review March 29, 2026 15:18
Copilot AI review requested due to automatic review settings March 29, 2026 15:18
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 29, 2026
@dosubot dosubot bot added the new-template label Mar 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Dokploy blueprint for deploying MLflow (experiment tracking + model registry) backed by PostgreSQL and RustFS (S3-compatible artifact store), and registers it in the central template index.

Changes:

  • Added a new mlflow entry to meta.json (with logo/links/tags).
  • Introduced blueprints/mlflow/docker-compose.yml with 4 services (MLflow, Postgres, RustFS, and a bucket-init job).
  • Added blueprints/mlflow/template.toml variables/env wiring and an mlflow.svg logo.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
meta.json Registers the new mlflow template in the global template catalog.
blueprints/mlflow/template.toml Defines Dokploy variables, env injection, and domain routing for the MLflow service.
blueprints/mlflow/docker-compose.yml Implements the multi-service MLflow deployment (DB + S3 storage + init container).
blueprints/mlflow/mlflow.svg Adds the logo referenced by the meta entry.

- Pin psycopg2-binary==2.9.11 and boto3==1.42.78 for reproducibility
- Add start_period: 120s to MLflow healthcheck to account for pip
  install time on cold starts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-template size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants