thomwolf HF Staff commited on
Commit
89fb93c
·
1 Parent(s): ef9c089
Files changed (1) hide show
  1. start.sh +2 -0
start.sh CHANGED
@@ -9,6 +9,8 @@ echo "Waiting for MongoDB to start..."
9
  max_attempts=30
10
  attempt=1
11
 
 
 
12
  while ! mongosh --quiet --eval "db.version()" > /dev/null 2>&1; do
13
  if [ $attempt -gt $max_attempts ]; then
14
  echo "MongoDB failed to start. Showing logs:"
 
9
  max_attempts=30
10
  attempt=1
11
 
12
+ ls -l /data/
13
+
14
  while ! mongosh --quiet --eval "db.version()" > /dev/null 2>&1; do
15
  if [ $attempt -gt $max_attempts ]; then
16
  echo "MongoDB failed to start. Showing logs:"