[PR #3] [MERGED] Wait until Minio is ready before creating buckets #142

Closed
opened 2026-02-16 12:51:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/self-hosted/pull/3
Author: @codeurimpulsif
Created: 9/13/2021
Status: Merged
Merged: 9/15/2021
Merged by: @insertish

Base: masterHead: fix-minio-bucket-creation


📝 Commits (1)

  • e527a59 Wait until Minio is ready before creating buckets

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 docker-compose.yml (+1 -0)

📄 Description

Issue

When the createbuckets container is created the minio container is ready but minio is not fully initialized.
This result to some or all buckets creation failure.

Goal

Create a check inside the createbuckets container to run buckets creation commands only when the minio endpoint is reachable.

Informations

We use curl here because it is provided inside minio/mc.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/self-hosted/pull/3 **Author:** [@codeurimpulsif](https://github.com/codeurimpulsif) **Created:** 9/13/2021 **Status:** ✅ Merged **Merged:** 9/15/2021 **Merged by:** [@insertish](https://github.com/insertish) **Base:** `master` ← **Head:** `fix-minio-bucket-creation` --- ### 📝 Commits (1) - [`e527a59`](https://github.com/stoatchat/self-hosted/commit/e527a591d3305f50588982ea44db696ca32209c3) Wait until Minio is ready before creating buckets ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docker-compose.yml` (+1 -0) </details> ### 📄 Description ## Issue When the `createbuckets` container is created the `minio` container is ready but minio is not fully initialized. This result to some or all buckets creation failure. ## Goal Create a check inside the `createbuckets` container to run buckets creation commands only when the `minio` endpoint is reachable. ## Informations We use `curl` here because it is provided inside `minio/mc`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 12:51:38 -05:00
yindo closed this issue 2026-02-16 12:51:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#142