Skip to content

Commit

Permalink
Merge pull request #40 from dcnsakthi/orgin/evn-update-auth
Browse files Browse the repository at this point in the history
Updated .env.example for better experience.
  • Loading branch information
thivy authored Aug 4, 2023
2 parents f4ea3e5 + 6eac844 commit eaad5d2
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/.env.example
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=

0 comments on commit eaad5d2

Please sign in to comment.