Skip to content

Commit 401b7ee

Browse files
committed
Set NODE_ENV to production in supabase docs
1 parent 6881de8 commit 401b7ee

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docs/documentation/guides/self-hosting/supabase.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ ENCRYPTION_KEY=1189c93e399856a2a9a1454496171b2e
2929
...
3030
```
3131

32+
3. Set `NODE_ENV` to production:
33+
34+
```sh .env (excerpt)
35+
...
36+
NODE_ENV=production
37+
...
38+
```
39+
3240
## Create a Supabase DB
3341

3442
<Tip>Alternative: [Self-host Supabase](https://supabase.com/docs/guides/self-hosting/docker)</Tip>
@@ -84,7 +92,7 @@ ENCRYPTION_KEY=1189c93e399856a2a9a1454496171b2e
8492
DATABASE_URL=postgresql://postgres:<PASSWORD>@db.<ID>.supabase.co:5432/postgres?schema=triggerdotdev
8593
DIRECT_URL=${DATABASE_URL}
8694

87-
NODE_ENV=development
95+
NODE_ENV=production
8896
RUNTIME_PLATFORM=docker-compose
8997
```
9098

0 commit comments

Comments
 (0)