#!/bin/bash
set -e
until curl -s http://localhost:9999/ >/dev/null 2>&1; do
echo "Waiting for gotrue..."
sleep 1
done
exec /app/storage ...