chore: plug in minio storage

This commit is contained in:
2025-12-02 12:58:08 +01:00
parent 0cf6b405f1
commit 79b8535304
3 changed files with 45 additions and 1 deletions

15
docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
set -e
# Wait for MinIO to be ready
if [ -n "$MINIO_ENDPOINT" ]; then
echo "Waiting for MinIO to be ready..."
until wget -q --spider "$MINIO_ENDPOINT/minio/health/live" 2>/dev/null; do
echo "MinIO is unavailable - sleeping"
sleep 2
done
echo "MinIO is up"
fi
# Start the application
exec "$@"