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