change mlflow to use database instead of mlflow folder
This commit is contained in:
parent
187243bfdb
commit
d7f583701c
1 changed files with 5 additions and 4 deletions
|
|
@ -48,6 +48,7 @@ services:
|
|||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- POSTGRES_HOST=postgres
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
|
|
@ -69,8 +70,8 @@ services:
|
|||
- mlflow-data:/mlflow
|
||||
command: >
|
||||
mlflow server
|
||||
--backend-store-uri /mlflow
|
||||
--default-artifact-root /mlflow/artifacts
|
||||
--backend-store-uri "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
|
||||
--default-artifact-root ./mlruns/artifacts
|
||||
--host 0.0.0.0
|
||||
--port 5000
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue