Skip to content

Commit

Permalink
Merge pull request #6191 from avalonmediasystem/minio_updates
Browse files Browse the repository at this point in the history
Wait on minio container before attempting to create buckets
  • Loading branch information
cjcolvar authored Feb 11, 2025
2 parents d182acb + c3ba87d commit 2ae2c13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ services:
ports: []

minio:
image: minio/minio:RELEASE.2024-01-29T03-56-32Z
image: minio/minio
command: minio server /data --console-address ":9090"
environment:
MINIO_ACCESS_KEY: minio
Expand All @@ -195,7 +195,8 @@ services:
createbuckets:
image: minio/mc
depends_on:
- minio
minio:
condition: service_healthy
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add myminio http://minio:9000 minio minio123;
Expand Down

0 comments on commit 2ae2c13

Please sign in to comment.