mirror of
https://github.com/Toumash/mlflow-docker
synced 2025-11-04 15:19:21 +01:00
working cli
This commit is contained in:
@@ -18,7 +18,6 @@ aws configure
|
||||
4. Create mlflow bucket
|
||||
|
||||
```shell
|
||||
npm i
|
||||
aws --endpoint-url=http://localhost:9000 s3 mb s3://mlflow
|
||||
```
|
||||
|
||||
@@ -54,6 +53,7 @@ MLFLOW_S3_ENDPOINT_URL=http://localhost:9000/mlflow MLFLOW_TRACKING_URI=http://l
|
||||
Optionally you can run
|
||||
```shell
|
||||
MLFLOW_S3_ENDPOINT_URL=http://localhost:9000/mlflow MLFLOW_TRACKING_URI=http://localhost:5000 python ./quickstart/mlflow_tracking.py
|
||||
|
||||
```
|
||||
|
||||
8. To make the setting permament move the MLFLOW_S3_ENDPOINT_URL and MLFLOW_TRACKING_URI into your .bashrc
|
||||
|
||||
@@ -41,10 +41,10 @@ services:
|
||||
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
|
||||
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
|
||||
- AWS_DEFAULT_REGION=${AWS_REGION}
|
||||
- MLFLOW_S3_ENDPOINT_URL=http://localhost:9000
|
||||
networks:
|
||||
- A
|
||||
|
||||
entrypoint: mlflow server --backend-store-uri mysql+pymysql://${MYSQL_USER}:${MYSQL_PASSWORD}@db:3306/${MYSQL_DATABASE} --default-artifact-root http://localhost:9000/${AWS_BUCKET_NAME}/mlflow/ -h 0.0.0.0
|
||||
entrypoint: mlflow server --backend-store-uri mysql+pymysql://${MYSQL_USER}:${MYSQL_PASSWORD}@db:3306/${MYSQL_DATABASE} --default-artifact-root s3://${AWS_BUCKET_NAME}/ -h 0.0.0.0
|
||||
networks:
|
||||
A:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user