.env.production 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # ContextPath
  2. BASE_PATH=/chat
  3. # Your openai api key. (required)
  4. OPENAI_API_KEY=sk-xxxx
  5. # Access passsword, separated by comma. (optional)
  6. CODE=
  7. # You can start service behind a proxy
  8. PROXY_URL=http://10.10.0.6:13123
  9. # Override openai api request base url. (optional)
  10. # Default: https://api.openai.com
  11. # Examples: http://your-openai-proxy.com
  12. BASE_URL=http://10.10.0.1:20003/
  13. #BASE_URL=http://10.10.0.2:20003/
  14. # Specify OpenAI organization ID.(optional)
  15. # Default: Empty
  16. OPENAI_ORG_ID=
  17. # (optional)
  18. # Default: Empty
  19. # If you do not want users to use GPT-4, set this value to 1.
  20. DISABLE_GPT4=
  21. # (optional)
  22. # Default: Empty
  23. # If you do not want users to input their own API key, set this value to 1.
  24. HIDE_USER_API_KEY=1
  25. # (optional)
  26. # Default: Empty
  27. # If you do want users to query balance, set this value to 1.
  28. ENABLE_BALANCE_QUERY=
  29. # (optional)
  30. # Default: Empty
  31. # If you want to disable parse settings from url, set this value to 1.
  32. DISABLE_FAST_LINK=
  33. OAUTH_CLIENT_ID=496e8739b88e42b2a0d485b0087b5d49
  34. OAUTH_CLIENT_SECRET=73f5c7cc7cd84b1c84542870b473464a
  35. OAUTH_REDIRECT_URI=https://www.tonyandmoney.cn/chat/
  36. OAUTH_AUTHORIZE_ENDPOINT=https://www.tonyandmoney.cn/oauth/authorize
  37. OAUTH_USERINFO=https://api.tonyandmoney.cn/oauth/user