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
0fe673a5
Commit
0fe673a5
authored
Nov 15, 2023
by
Timothy J. Baek
Browse files
doc: docker command update
parent
fc3bf33e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
README.md
README.md
+9
-3
compose.yaml
compose.yaml
+1
-1
No files found.
README.md
View file @
0fe673a5
...
...
@@ -112,11 +112,17 @@ docker run -d -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_ORIGINS="*" --nam
#### Installing Ollama Web UI
Change
`OLLAMA_API_BASE_URL`
to match the external Ollama Server url:
Change
`OLLAMA_API_BASE_URL`
environment variable
to match the external Ollama Server url:
```
bash
docker build
--build-arg
OLLAMA_API_BASE_URL
=
'https://example.com/api'
-t
ollama-webui
.
docker run
-d
-p
3000:8080
--name
ollama-webui
--restart
always ollama-webui
docker run
-d
-p
3000:8080
-e
OLLAMA_API_BASE_URL
=
https://example.com/api
--name
ollama-webui
--restart
always ghcr.io/ollama-webui/ollama-webui:main
```
Alternatively, if you prefer to build the container yourself, use the following command:
```
bash
docker build
-t
ollama-webui
.
docker run
-d
-p
3000:8080
-e
OLLAMA_API_BASE_URL
=
https://example.com/api
--name
ollama-webui
--restart
always ollama-webui
```
## How to Build for Static Deployment
...
...
compose.yaml
View file @
0fe673a5
...
...
@@ -14,7 +14,7 @@ services:
volumes
:
-
ollama:/root/.ollama
ports
:
-
11434:11434
-
127.0.0.1:
11434:11434
container_name
:
ollama
pull_policy
:
always
tty
:
true
...
...
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