docs/src/content/setup_server_slim.mdx
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import TabsWrapper from '@site/src/components/TabsWrapper';
<TabsWrapper> <Tabs> <TabItem value="local" label="Local (pip)" default>If you have a local Python environment >= 3.10, you can start the MLflow server locally using the mlflow CLI command.
mlflow server
MLflow also provides a Docker Compose file to start a local MLflow server with a postgres database and a minio server.
git clone --depth 1 --filter=blob:none --sparse https://github.com/mlflow/mlflow.git
cd mlflow
git sparse-checkout set docker-compose
cd docker-compose
cp .env.dev.example .env
docker compose up -d
Refer to the instruction for more details, e.g., overriding the default environment variables.
</TabItem> </Tabs> </TabsWrapper>