Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

Commit

Permalink
chore: add .env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
doinel1a committed May 10, 2024
1 parent 3152ad9 commit f7bb7b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Client
# NEXT_PUBLIC_CLIENT_VAR: process.env.NEXT_PUBLIC_CLIENT_VAR,

# Server
AUTH_URL="http://localhost:3000"
AUTH_SECRET="" # You can generate a new secret on the command line with: openssl rand -base64 32
AUTH_EDGEDB_DSN=""
AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""

# Needed only in development env
EDGEDB_CLIENT_SECURITY="insecure_dev_mode"

# Needed when deploying to Vercel and EdgeDB is hosted on other Cloud Providers
EDGEDB_DSN="" # Must be the same as AUTH_EDGEDB_DSN
EDGEDB_CLIENT_TLS_SECURITY="insecure"

0 comments on commit f7bb7b5

Please sign in to comment.