From 38366c5336d714d0436585b8adc8342f347a71bd Mon Sep 17 00:00:00 2001 From: Chetan Sarva Date: Tue, 18 Oct 2022 04:21:15 -0400 Subject: [PATCH] build: add NEXTAUTH_URL_INTERNAL to example env (#108) Co-authored-by: Matti Nannt --- .env.example | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 5859acd4a7..524066b646 100644 --- a/.env.example +++ b/.env.example @@ -9,8 +9,12 @@ NEXTAUTH_SECRET=RANDOM_STRING +# Set this to your public-facing URL, e.g., https://example.com NEXTAUTH_URL=http://localhost:3000 +# This should always be localhost:3000 (or whatever port your app is running on) +NEXTAUTH_URL_INTERNAL=http://localhost:3000 + DATABASE_URL='postgresql://postgres:postgres@localhost:5432/snoopforms?schema=public' # For Docker Compose Production Setup use this Database URL: # DATABASE_URL='postgresql://postgres:postgres@postgres:5432/snoopforms?schema=public' @@ -74,4 +78,4 @@ SMTP_PASSWORD=smtpPassword # We can't identify you, or your users and only receive the number of submissions on your instance. # You help us a lot, if you leave this activated. # If you still want to opt-out, uncomment the next line. -# TELEMETRY_DISABLED=1 \ No newline at end of file +# TELEMETRY_DISABLED=1