From 11248c0d945f6fd75667f4fbd5f37a4512a6cf1e Mon Sep 17 00:00:00 2001 From: marcelovicentegc Date: Wed, 15 Nov 2023 16:38:37 -0300 Subject: [PATCH] chore: update .env.example --- .env.example | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 2117445..4ac9682 100644 --- a/.env.example +++ b/.env.example @@ -4,9 +4,14 @@ MONGODB_DB= # used to encrypt and decrypt stuff from the development database ENCRYPTION_KEY= +# development +HOSTNAME=localhost +PORT=3001 +HOST=http://$HOSTNAME:$PORT + # next-auth (https://next-auth.js.org/) NEXTAUTH_SECRET= -NEXTAUTH_URL=http://localhost:3000 +NEXTAUTH_URL=$HOST EMAIL_SERVER_USER= EMAIL_SERVER_PASSWORD= EMAIL_SERVER_HOST= @@ -20,4 +25,4 @@ ALLOWED_EMAILS= # when spinning this application, and using localhost as the origin TEST_VENDOR_ID= TEST_API_KEY= -TEST_API_PORT= \ No newline at end of file +TEST_API_PORT=$PORT \ No newline at end of file