Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait on minio container before attempting to create buckets #6191

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

cjcolvar
Copy link
Member

As reported in #6190 creation of buckets sometimes fails. This appears to be a timing issue where the minio container is not available when the createbuckets container attempts to connect. This is resolved by changing the depends_on in the createbuckets container to check that the minio container is healthy instead of just created which is the default. (See https://docs.docker.com/compose/how-tos/startup-order/#control-startup for more details.)

Also included in this PR: use minio latest tag

Copy link
Contributor

@masaball masaball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cjcolvar cjcolvar merged commit 2ae2c13 into develop Feb 11, 2025
2 checks passed
@cjcolvar cjcolvar deleted the minio_updates branch February 11, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants