From f7bb7b5599660ef106685cbd31a62c5d0eeb7177 Mon Sep 17 00:00:00 2001 From: doinel1a Date: Fri, 10 May 2024 10:23:35 +0200 Subject: [PATCH] chore: add .env.example --- .env.example | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..dd4ec3d --- /dev/null +++ b/.env.example @@ -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"