mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-17 17:57:11 +08:00
feat: update lobe-chat-data 1.99.2
This commit is contained in:
16
apps/lobe-chat-data/1.99.2/minio-entrypoint.sh
Normal file
16
apps/lobe-chat-data/1.99.2/minio-entrypoint.sh
Normal 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
|
||||
Reference in New Issue
Block a user