{"id":24111613,"url":"https://github.com/leoromanovich/mlflow_tracking_server","last_synced_at":"2025-05-13T10:49:46.116Z","repository":{"id":118983936,"uuid":"284085075","full_name":"leoromanovich/mlflow_tracking_server","owner":"leoromanovich","description":"Ready to use configuration mlflow tracking server + local S3 storage based on Docker and Minio","archived":false,"fork":false,"pushed_at":"2020-08-04T12:07:17.000Z","size":11,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T06:41:17.534Z","etag":null,"topics":["docker","docker-compose","experiments-tracking","mlflow","python","s3-storage"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leoromanovich.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-31T16:47:19.000Z","updated_at":"2023-07-17T13:51:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6e9fcd4-ca92-4c3f-b92f-bcce82b32e14","html_url":"https://github.com/leoromanovich/mlflow_tracking_server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoromanovich%2Fmlflow_tracking_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoromanovich%2Fmlflow_tracking_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoromanovich%2Fmlflow_tracking_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoromanovich%2Fmlflow_tracking_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leoromanovich","download_url":"https://codeload.github.com/leoromanovich/mlflow_tracking_server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253928431,"owners_count":21985793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","experiments-tracking","mlflow","python","s3-storage"],"created_at":"2025-01-11T02:37:33.025Z","updated_at":"2025-05-13T10:49:46.108Z","avatar_url":"https://github.com/leoromanovich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ready to use configuration mlflow tracking server + local S3 storage based on Docker and Minio\n\n## Prerequisites:\n\nFor mlflow tracking server machine:\n\n* [Docker](https://docs.docker.com/get-docker/)\n* [Docker-compose](https://docs.docker.com/compose/install/)\n\nFor client machine:\n\n* just install [mlflow](https://www.mlflow.org/docs/latest/quickstart.html) and [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html) libraries to your environment\n\nIt's possible to use the same machine as the server and the client\n\n## Configurations\n\n[Client and server are the same machine](#configuration-client-and-server-are-the-same-machine)  \n[Server on remote machine](#configuration-server-is-remote-machine)\n\n\n## Configuration Client and Server are the same machine\n\n1. Go to the directory, where your server will run and clone project\n\n```shell script\ngit clone https://github.com/leoromanovich/mlflow_tracking_server \u0026\u0026 cd mlflow_tracking_server\n```\n\n2. Go to mlflow_server directory\n\n```shell script\ncd mlflow_server\n```\n\n3. Run server\n\n```shell script\nsudo docker-compose up --build\n```\n\n4. Server is ready, so [add few lines to client code](#Client-configuration)\n5. Check `localhost:5555` for MLflow server and `localhost:9001` for Minio \n6. Enjoy!\n\n\n## Configuration Server is remote machine\n\n1. Connect to your remote machine\n2. Go to the directory, where your server will run and clone project\n\n```shell script\ngit clone https://github.com/leoromanovich/mlflow_tracking_server \u0026\u0026 cd mlflow_tracking_server\n```\n\n3. Go to mlflow_server directory\n\n```shell script\ncd mlflow_server\n```\n\n4. Run server\n\n```shell script\nsudo docker-compose up --build\n```\n\n5. Server is ready, so [add few lines to client code](#Client-configuration)\n\n6. Check `your_server_ip:5555` for MLflow server and `your_server_ip:9001` \n7. Enjoy!\n\n## Client configuration\n\nAdd this lines to your experiment\n\n```python\nimport os\nimport mlflow\n\n# Use IP of your remote machine here\n# Don't change if client and server is the same machine\nserver_ip = '0.0.0.0'\n\nos.environ['AWS_ACCESS_KEY_ID'] = 'minio'\nos.environ['AWS_SECRET_ACCESS_KEY'] = 'minio123'\nos.environ['MLFLOW_S3_ENDPOINT_URL'] = f'http://{server_ip}:9001'\n\nmlflow.set_tracking_uri(f\"http://{server_ip}:5555\")\nmlflow.set_experiment(\"awesome-experiment\")\n```\n\n## What if I want to change\n\n1. Aritfact-bucket and save artifacts there?\n\nOpen [docker-compose.yml](/mlflow_server/docker-compose.yml) file and change all \"mlflow-artifacts\" entries to \"new_bucket_name\"\n\n\n\n## Acknowledgments\n\n[Mikhail Knyazev](https://github.com/9dogs)  \n[Dmitry Kozlov](https://github.com/dkozlov)  \n[OCRV](http://www.ocrv.ru/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoromanovich%2Fmlflow_tracking_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoromanovich%2Fmlflow_tracking_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoromanovich%2Fmlflow_tracking_server/lists"}