-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from dcnsakthi/orgin/evn-update-auth
Updated .env.example for better experience.
- Loading branch information
Showing
1 changed file
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
# Update your Azure OpenAI details | ||
# AZURE_OPENAI_API_INSTANCE_NAME should be just the name of azure openai resource and not the full url; | ||
# AZURE_OPENAI_API_DEPLOYMENT_NAME should be deployment name from your azure openai studio and not the model name. | ||
# AZURE_OPENAI_API_VERSION should be Supported versions checkout docs https://learn.microsoft.com/en-us/azure/ai-services/openai/reference | ||
AZURE_OPENAI_API_KEY= | ||
AZURE_OPENAI_API_INSTANCE_NAME= | ||
AZURE_OPENAI_API_DEPLOYMENT_NAME= | ||
AZURE_OPENAI_API_VERSION= | ||
AZURE_OPENAI_API_VERSION=2023-05-15 | ||
|
||
# Use GitHub environment variables if you’re not using Azure AD auth | ||
AUTH_GITHUB_ID= | ||
AUTH_GITHUB_SECRET= | ||
|
||
AZURE_AD_CLIENT_ID= | ||
AZURE_AD_CLIENT_SECRET= | ||
AZURE_AD_TENANT_ID= | ||
# Use Azure AD environment variables if you're not using GitHub auth | ||
# AZURE_AD_CLIENT_ID= | ||
# AZURE_AD_CLIENT_SECRET= | ||
# AZURE_AD_TENANT_ID= | ||
|
||
NEXTAUTH_SECRET=this-is-a-secret-with-minimum-length-of-32-characters | ||
NEXTAUTH_URL=http://localhost:3000 # add your production URL here (and remove this comment) | ||
# Update your production URL in NEXTAUTH_URL | ||
NEXTAUTH_SECRET=AZURE-OPENIAI-CHATGPT-NEXTAUTH-OWNKEY@1 | ||
NEXTAUTH_URL=http://localhost:3000 | ||
|
||
AZURE_COSMOSEDB_URI= | ||
# Update your Cosmos Environment details here | ||
AZURE_COSMOSEDB_URI=https://<cosmoresourcename>.documents.azure.com:443/ | ||
AZURE_COSMOSEDB_KEY= |