File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1+ # Cloud Environment Configuration
2+ # Copy this template: `cp .env.cloud.template .env.local`
3+ # Edit .env.local and enter your Supabase and PowerSync project details.
4+
5+ # Supabase Configuration
6+ VITE_SUPABASE_URL=https://<your-project-id>.supabase.co
7+ VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.<replace-with-your-anon-key>
8+
9+ # PowerSync Configuration
10+ VITE_POWERSYNC_URL=https://<your-project-id>.powersync.journeyapps.com
Original file line number Diff line number Diff line change 1+ # Self-hosted Environment Configuration
12# Copy this template: `cp .env.local.template .env.local`
23# Edit .env.local and enter your Supabase and PowerSync project details.
4+
35VITE_SUPABASE_URL=http://localhost:54321
46VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
57VITE_POWERSYNC_URL=http://localhost:8080
68
7- # PowerSync configuration
9+ # Self-hosted PowerSync Configuration
810PS_POSTGRESQL_URI=postgresql://postgres:postgres@supabase_db_powersync:5432/postgres
911PS_SUPABASE_JWT_SECRET=super-secret-jwt-token-with-at-least-32-characters-long
1012PS_API_TOKEN=super-secret
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ Follow the prompts to configure:
143143
144144First, copy the environment template file:
145145``` bash
146- cp .env.local .template .env.local
146+ cp .env.cloud .template .env.local
147147```
148148
149149Then set the following environment variables in your ` .env.local ` file:
You can’t perform that action at this time.
0 commit comments