Documentation
¶
Overview ¶
Package main: write embedded Supabase volume files to disk for the example. All required config files are embedded so the example runs offline with no GitHub fetch.
Package main: Supabase stack configuration and per-service environment maps.
Package main: Supabase service container definitions (vector, db, analytics, auth, rest, realtime, storage, imgproxy, meta, functions, kong, studio, supavisor).
Supabase bootstrap example: one-execute install of the Supabase stack using go-contain. Required volume files are auto-downloaded from the Supabase repo when missing. Streams compose events (start/stop/health) alongside logs; Ctrl+C kills containers and brings the stack down.
Flags:
-profile: minimal (default) or full. Full adds vector, realtime, storage, imgproxy, meta, functions, supavisor. -resource-limits: apply memory/CPU limits to db, kong, and studio. -volumes-path: directory for volume files (default: ./volumes or SUPABASE_VOLUMES_PATH).
Package main: compose project assembly and service dependencies. Core services use sc.WithProfiles("minimal"); optional services use sc.WithProfiles("full"). Up/Down/Logs must pass at least one profile (e.g. up.WithProfiles("minimal") or "minimal","full" for full stack). Resource limits are applied when enableResourceLimits is true.