example.env 567 B

123456789101112
  1. # If you're serving both the frontend and backend (Recommended)
  2. # Set the public API base URL for seamless communication
  3. PUBLIC_API_BASE_URL='/ollama/api'
  4. # If you're serving only the frontend (Not recommended and not fully supported)
  5. # Comment above and Uncomment below
  6. # You can use the default value or specify a custom path, e.g., '/api'
  7. # PUBLIC_API_BASE_URL='http://{location.hostname}:11434/api'
  8. # Ollama URL for the backend to connect
  9. # The path '/ollama/api' will be redirected to the specified backend URL
  10. OLLAMA_API_BASE_URL='http://localhost:11434/api'