feat: update lobe-chat-data v1.970.0

This commit is contained in:
xiaoY233
2025-07-14 16:36:23 +08:00
parent a4c514a996
commit 1b22a561a5
7 changed files with 41 additions and 42 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/sh
minio server /etc/minio/data --address ":${MINIO_PORT}" --console-address ":9001" &
MINIO_PID=$!
while ! curl -s http://localhost:${MINIO_PORT}/minio/health/live; do
echo 'Waiting for MinIO to start...'
sleep 1
done
sleep 5
mc alias set myminio http://localhost:${MINIO_PORT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
echo "Creating bucket ${MINIO_LOBE_BUCKET}"
mc mb myminio/${MINIO_LOBE_BUCKET}
wait $MINIO_PID