diff --git a/docker-compose.test-custom.yml b/docker-compose.test-custom.yml index e195c00ca..2229567f0 100644 --- a/docker-compose.test-custom.yml +++ b/docker-compose.test-custom.yml @@ -38,6 +38,11 @@ services: entrypoint: > /bin/sh -c " set -e; + + while ! curl -I minio-server:9000/minio/health/live; do + sleep 1; + done + /usr/bin/mc config host add minio-server http://minio-server:9000 USERNAME PASSWORD; /usr/bin/mc mb --ignore-existing minio-server/balena-pine-web-resources; sleep infinity;