.env 877 B

123456789101112131415161718192021222324252627282930313233343536
  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://localhost: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='127.0.0.1'
  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__"