Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
179b9635
Unverified
Commit
179b9635
authored
Dec 05, 2023
by
Timothy Jaeryang Baek
Committed by
GitHub
Dec 05, 2023
Browse files
Update example.env
parent
1ff1c7e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
example.env
example.env
+6
-5
No files found.
example.env
View file @
179b9635
# 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'
# must be defined, but defaults to 'http://{location.hostname}:11434/api'
# can also use path, such as '/api'
# can also use path, such as '/api'
PUBLIC_API_BASE_URL=''
#
PUBLIC_API_BASE_URL=''
OLLAMA_API_ID='my-api-token'
OLLAMA_API_BASE_URL='http://localhost:11434/api'
OLLAMA_API_TOKEN='xxxxxxxxxxxxxxxx'
# generated by passing the token to `caddy hash-password`
OLLAMA_API_TOKEN_DIGEST='$2a$14$iyyuawykR92xTHNR9lWzfu.uCct/9/xUPX3zBqLqrjAu0usNRPbyi'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment