#!/bin/bash set -e until curl -s http://localhost:5000/rest/v1/ >/dev/null 2>&1; do echo "Waiting for postgrest (via Kong)..." sleep 1 done exec kong start -c /supabase/kong/kong.conf