mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-21 12:35:23 -04:00
[PR #3] [MERGED] Wait until Minio is ready before creating buckets #142
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:fix-minio-bucket-creation📝 Commits (1)
e527a59Wait 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
createbucketscontainer is created theminiocontainer is ready but minio is not fully initialized.This result to some or all buckets creation failure.
Goal
Create a check inside the
createbucketscontainer to run buckets creation commands only when theminioendpoint is reachable.Informations
We use
curlhere because it is provided insideminio/mc.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.