mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
Update example.env
This commit is contained in:
committed by
GitHub
parent
1ff1c7e94e
commit
179b963525
11
example.env
11
example.env
@@ -1,8 +1,9 @@
|
||||
# If serving with the backend (Recommended)
|
||||
PUBLIC_API_BASE_URL='/ollama/api'
|
||||
|
||||
# Comment above and Uncomment below if you're serving only the frontend (Not supported)
|
||||
# must be defined, but defaults to 'http://{location.hostname}:11434/api'
|
||||
# can also use path, such as '/api'
|
||||
PUBLIC_API_BASE_URL=''
|
||||
# PUBLIC_API_BASE_URL=''
|
||||
|
||||
OLLAMA_API_ID='my-api-token'
|
||||
OLLAMA_API_TOKEN='xxxxxxxxxxxxxxxx'
|
||||
# generated by passing the token to `caddy hash-password`
|
||||
OLLAMA_API_TOKEN_DIGEST='$2a$14$iyyuawykR92xTHNR9lWzfu.uCct/9/xUPX3zBqLqrjAu0usNRPbyi'
|
||||
OLLAMA_API_BASE_URL='http://localhost:11434/api'
|
||||
|
||||
Reference in New Issue
Block a user