.env 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Ollama URL for the backend to connect
  2. # The path '/ollama' will be redirected to the specified backend URL
  3. OLLAMA_BASE_URL='http://olama.example.com:11434'
  4. OPENAI_API_BASE_URL=''
  5. OPENAI_API_KEY=''
  6. # AUTOMATIC1111_BASE_URL="http://localhost:7860"
  7. # For production, you should only need one host as
  8. # fastapi serves the svelte-kit built frontend and backend from the same host and port.
  9. # To test with CORS locally, you can set something like
  10. # CORS_ALLOW_ORIGIN='http://localhost:5173;http://localhost:8080'
  11. CORS_ALLOW_ORIGIN='https://__DOMAIN__'
  12. # For production you should set this to match the proxy configuration (127.0.0.1)
  13. FORWARDED_ALLOW_IPS='127.0.0.1'
  14. # DO NOT TRACK
  15. SCARF_NO_ANALYTICS=true
  16. DO_NOT_TRACK=true
  17. ANONYMIZED_TELEMETRY=false
  18. DEFAULT_LOCALE=__LANGUAGE__
  19. ADMIN_EMAIL=__MAIL__
  20. ENV="prod"
  21. WEBUI_NAME="Open WebUI for YunoHost"
  22. PORT=__PORT__
  23. DATA_DIR="__DATA_DIR__"
  24. ENABLE_SIGNUP=true
  25. #LDAP
  26. ENABLE_LDAP=true
  27. LDAP_SERVER_HOST=127.0.0.1
  28. LDAP_SERVER_PORT=389
  29. LDAP_USE_TLS=false
  30. LDAP_VALIDATE_CERT=false
  31. LDAP_SEARCH_BASE=ou=users,dc=yunohost,dc=org
  32. LDAP_SEARCH_FILTERS=(|(permission=cn=openwebui.main,ou=permission,dc=yunohost,dc=org))
  33. LDAP_ATTRIBUTE_FOR_USERNAME=uid
  34. LDAP_ATTRIBUTE_FOR_MAIL=mail
  35. DEFAULT_USER_ROLE=user
  36. LDAP_APP_DN=''
  37. LDAP_APP_PASSWORD=''