SupabaseS
Supabase15h ago
mzybwy

Self-hosting Supabase Studio - Disabling features

I self-host Supabase with only studio, kong, and meta because I really like using Supabase Studio as a UI for postgres, but don't need anything else from it. It works fine as is, but I would like to remove some of the visual noise/disabled features at LEAST from the sidebar. Is this possible with just Docker Compose tweaks? Or would it require deeper code changes?

Poking through the code at https://github.com/supabase/supabase/blob/1d49e9e9546f50e298268f4976a4af8ae4a3db85/apps/studio/components/interfaces/Sidebar.tsx#L242 it should in theory be possible to disable sidebar items by modifying the NEXT_PUBLIC_DISABLED_FEATURES env variable. However, I can't seem to make a difference by simply modifying mydocker-compose.yml

Example
environment:
      ENABLED_FEATURES_OVERRIDE_DISABLE_ALL: true
      NEXT_PUBLIC_ENABLED_FEATURES_OVERRIDE_DISABLE_ALL: true
      DISABLED_FEATURES: project_auth:all,project_edge_function:all,project_storage:all,realtime:all
      NEXT_PUBLIC_DISABLED_FEATURES: project_auth:all,project_edge_function:all,project_storage:all,realtime:all
Was this page helpful?