Skip to content

Commit fe67f5d

Browse files
committed
fix: Wait for MinIO Server before creating bucket
Wait for the MinIO Server to be healthy before attempting to create a bucket as part of the 'model-bucket-init' service. This is necessary because the MinIO Server may not be ready to accept requests when the service starts, resulting in errors like the following: ``` Unable to initialize new alias from the provided credentials. Server not initialized, please try again. ``` Signed-off-by: Phoevos Kalemkeris <[email protected]>
1 parent ce8354f commit fe67f5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose-mlflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ services:
6161
fi
6262
"
6363
depends_on:
64-
- minio
64+
minio:
65+
condition: "service_healthy"
6566

6667
mlflow-ui:
6768
image: cogstacksystems/cogstack-mlflow-ui:dev

0 commit comments

Comments
 (0)