hackathon / docker-compose.yml
mekosotto's picture
feat(deploy): Dockerfile + compose for api + mlflow server
60b8d69
raw
history blame
509 Bytes
services:
mlflow:
image: ghcr.io/mlflow/mlflow:v2.16.0
command: >
mlflow server
--host 0.0.0.0
--port 5000
--backend-store-uri /mlflow/mlruns
--default-artifact-root /mlflow/mlruns
ports:
- "5000:5000"
volumes:
- mlflow-data:/mlflow/mlruns
api:
build: .
ports:
- "8000:8000"
environment:
MLFLOW_TRACKING_URI: http://mlflow:5000
depends_on:
- mlflow
volumes:
- ./data:/app/data
volumes:
mlflow-data: