Advertisement
PomazanBohdan

Untitled

Mar 11th, 2024
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Fill in the values and copy the contents of this file to .env in the deployment directory.
  2. # Some valid default values are provided where applicable, delete the variables which you don't set values for.
  3. # This is only necessary when using the docker-compose.prod.yml compose file.
  4.  
  5.  
  6. # Could be something like danswer.companyname.com
  7. WEB_DOMAIN=https://danswer.vidaerp.site/
  8.  
  9.  
  10. # Generative AI settings, uncomment as needed, will work with defaults
  11. GEN_AI_MODEL_PROVIDER=ollama_chat
  12. GEN_AI_MODEL_VERSION=llama2
  13. GEN_AI_API_ENDPOINT=https://ollama.vidaerp.site/
  14.  
  15. #GEN_AI_MODEL_PROVIDER=openai
  16. #GEN_AI_MODEL_VERSION=gpt-4
  17. # Provide this as a global default/backup, this can also be set via the UI
  18. #GEN_AI_API_KEY=
  19. # Set to use Azure OpenAI or other services, such as https://danswer.openai.azure.com/
  20. #GEN_AI_API_ENDPOINT=
  21. # Set up to use a specific API version, such as 2023-09-15-preview (example taken from Azure)
  22. #GEN_AI_API_VERSION=
  23.  
  24.  
  25. # If you want to setup a slack bot to answer questions automatically in Slack
  26. # channels it is added to, you must specify the two below.
  27. # More information in the guide here: https://docs.danswer.dev/slack_bot_setup
  28. #DANSWER_BOT_SLACK_APP_TOKEN=
  29. #DANSWER_BOT_SLACK_BOT_TOKEN=
  30.  
  31.  
  32. # The following are for configuring User Authentication, supported flows are:
  33. # disabled
  34. # basic (standard username / password)
  35. # google_oauth (login with google/gmail account)
  36. # oidc (only in Danswer enterprise edition)
  37. # saml (only in Danswer enterprise edition)
  38. AUTH_TYPE=disabled
  39.  
  40. # Set the values below to use with Google OAuth
  41. # GOOGLE_OAUTH_CLIENT_ID=
  42. # GOOGLE_OAUTH_CLIENT_SECRET=
  43. # SECRET=
  44.  
  45. # if using basic auth and you want to require email verification,
  46. # then uncomment / set the following
  47. #REQUIRE_EMAIL_VERIFICATION=true
  48. #SMTP_USER=your-email@company.com
  49. #SMTP_PASS=your-gmail-password
  50.  
  51. # The below are only needed if you aren't using gmail as your SMTP
  52. #SMTP_SERVER=  
  53. #SMTP_PORT=
  54. # When missing SMTP_USER, this is used instead
  55. #EMAIL_FROM=
  56.  
  57. # OpenID Connect (OIDC)
  58. #OPENID_CONFIG_URL=
  59.  
  60. # SAML config directory for OneLogin compatible setups
  61. #SAML_CONF_DIR=
  62.  
  63.  
  64. # How long before user needs to reauthenticate, default to 1 day. (cookie expiration time)
  65. SESSION_EXPIRE_TIME_SECONDS=86400
  66.  
  67.  
  68. # Use the below to specify a list of allowed user domains, only checked if user Auth is turned on
  69. # e.g. `VALID_EMAIL_DOMAINS=example.com,example.org` will only allow users
  70. # with an @example.com or an @example.org email
  71. #VALID_EMAIL_DOMAINS=
  72.  
  73.  
  74. # Default values here are what Postgres uses by default, feel free to change.
  75. POSTGRES_USER=postgres
  76. POSTGRES_PASSWORD=password
  77.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement