Skip to content

Conversation

@youngkidwarrior
Copy link
Collaborator

Why:
Enable developers to override Supabase service ports via
environment variables while maintaining sensible defaults
(54321-54326). This allows running multiple Supabase instances
or avoiding port conflicts without modifying Tiltfile directly.

Changes:

  • Tiltfile: Pass SUPABASE_*_PORT env vars to supabase service
  • package.json: Add port defaults to test script invocation

Test plan:

  • Command 1: tilt up
    Expected: Supabase starts with default ports 54321-54326
  • Command 2: SUPABASE_API_PORT=55321 tilt up
    Expected: Supabase API runs on port 55321 instead of 54321
  • Command 3: yarn workspace @my/supabase test
    Expected: Tests run against default ports

Co-Authored-By: Warp agent@warp.dev

Why:
Enable developers to override Supabase service ports via
environment variables while maintaining sensible defaults
(54321-54326). This allows running multiple Supabase instances
or avoiding port conflicts without modifying Tiltfile directly.

Changes:
- Tiltfile: Pass SUPABASE_*_PORT env vars to supabase service
- package.json: Add port defaults to test script invocation

Test plan:
- Command 1: tilt up
  Expected: Supabase starts with default ports 54321-54326
- Command 2: SUPABASE_API_PORT=55321 tilt up
  Expected: Supabase API runs on port 55321 instead of 54321
- Command 3: yarn workspace @my/supabase test
  Expected: Tests run against default ports

Co-Authored-By: Warp <agent@warp.dev>
Copy link
Collaborator Author

youngkidwarrior commented Dec 30, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link

Vercel Unique URL: https://sendapp-re561wegm-0xsend.vercel.app
Vercel Preview URL: sendapp-supabase-env-config-0xsend.vercel.app
Last Commit: 33b1d03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants