This is a minimal Docker Compose setup for self-hosting Supabase. Follow the steps here to get started.
-
Uncomment the
docker-compose.yml
lines to expose thedb
ports. -
start the containers:
docker compose up -d
- run the following migration command:
supabase migrations up --db-url supabase migration up --db-url postgres://postgres:[email protected]:5432/postgres
- start the
EdgeWorker
by calling it:
curl http://localhost:8000/functions/v1/site-scrapper
Consider use the
Worker
class directly to support auto-load of your workers