example.env 567 Bytes
Newer Older
Timothy J. Baek's avatar
Timothy J. Baek committed
1
2
# If you're serving both the frontend and backend (Recommended)
# Set the public API base URL for seamless communication
Timothy Jaeryang Baek's avatar
Timothy Jaeryang Baek committed
3
4
PUBLIC_API_BASE_URL='/ollama/api'

Timothy J. Baek's avatar
Timothy J. Baek committed
5
6
7
8
# If you're serving only the frontend (Not recommended and not fully supported)
# Comment above and Uncomment below
# You can use the default value or specify a custom path, e.g., '/api'
# PUBLIC_API_BASE_URL='http://{location.hostname}:11434/api'
9

Timothy J. Baek's avatar
Timothy J. Baek committed
10
11
# Ollama URL for the backend to connect
# The path '/ollama/api' will be redirected to the specified backend URL
Timothy Jaeryang Baek's avatar
Timothy Jaeryang Baek committed
12
OLLAMA_API_BASE_URL='http://localhost:11434/api'