Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
version: '3.8'

services:
mlflow:
image: ghcr.io/mlflow/mlflow:v2.13.2
ports:
- "5000:5000"
volumes:
- ./mlruns:/mlruns
command: mlflow server --host 0.0.0.0 --port 5000 --backend-store-uri file:///mlruns

api:
build: .
ports:
- "8000:8000"
volumes:
- ./mlruns:/app/mlruns # If MLflow uses local storage
depends_on:
- mlflow
environment:
- MLFLOW_TRACKING_URI=http://localhost:5000 # If running MLflow server separately
- MLFLOW_TRACKING_URI=http://mlflow:5000
volumes:
- ./mlruns:/mlruns