How do I use my Supabase server?
- In the panel, open My servers and click your server.
- On the Overview tab, wait for the App row to say "Supabase is ready". The page refreshes itself.
- Open the link in the Panel address row. Your browser asks for the Login and Password, then Studio opens.
Your API keys
Connect over SSH and read the keys:
grep -E '^(SUPABASE_PUBLISHABLE_KEY|SUPABASE_SECRET_KEY|POSTGRES_PASSWORD)=' /opt/seturack/supabase/.env
Use SUPABASE_PUBLISHABLE_KEY in client code. SUPABASE_SECRET_KEY has full rights, so keep it on the server side. The older ANON_KEY and SERVICE_ROLE_KEY also work.
Your app's address
After setup, Auth's SITE_URL is the password-protected Studio address, and email links go there. In /opt/seturack/supabase/.env, set SITE_URL to your app's address and ADDITIONAL_REDIRECT_URLS to the return addresses you allow. Then run docker compose up -d in that folder.
Connecting to the database
Connect through the pooler on port 5432 or 6543. The user is postgres.your-tenant-id and the password is the POSTGRES_PASSWORD value.
Sign-up can't finish until a confirmation email can be sent. Fill in the SMTP_* values in .env and run docker compose up -d in that folder.
No server yet? Order a server with Supabase installed: you choose the size and pay for what you choose.
Thanks for your feedback!