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
482b4be1
Commit
482b4be1
authored
Jan 10, 2024
by
Timothy J. Baek
Browse files
doc: line break removed
parent
524841f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
README.md
README.md
+4
-12
No files found.
README.md
View file @
482b4be1
...
@@ -128,18 +128,14 @@ Don't forget to explore our sibling project, [OllamaHub](https://ollamahub.com/)
...
@@ -128,18 +128,14 @@ Don't forget to explore our sibling project, [OllamaHub](https://ollamahub.com/)
-
**If Ollama is on your computer**
, use this command:
-
**If Ollama is on your computer**
, use this command:
```
bash
```
bash
docker run
-d
-p
3000:8080
--add-host
=
host.docker.internal:host-gateway
\
docker run
-d
-p
3000:8080
--add-host
=
host.docker.internal:host-gateway
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always ghcr.io/ollama-webui/ollama-webui:main
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always
\
ghcr.io/ollama-webui/ollama-webui:main
```
```
-
**To build the container yourself**
, follow these steps:
-
**To build the container yourself**
, follow these steps:
```
bash
```
bash
docker build
-t
ollama-webui
.
docker build
-t
ollama-webui
.
docker run
-d
-p
3000:8080
--add-host
=
host.docker.internal:host-gateway
\
docker run
-d
-p
3000:8080
--add-host
=
host.docker.internal:host-gateway
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always ollama-webui
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always
\
ollama-webui
```
```
-
After installation, you can access Ollama Web UI at
[
http://localhost:3000
](
http://localhost:3000
)
.
-
After installation, you can access Ollama Web UI at
[
http://localhost:3000
](
http://localhost:3000
)
.
...
@@ -149,18 +145,14 @@ Don't forget to explore our sibling project, [OllamaHub](https://ollamahub.com/)
...
@@ -149,18 +145,14 @@ Don't forget to explore our sibling project, [OllamaHub](https://ollamahub.com/)
-
To connect to Ollama on another server, change the
`OLLAMA_API_BASE_URL`
to the server's URL:
-
To connect to Ollama on another server, change the
`OLLAMA_API_BASE_URL`
to the server's URL:
```
bash
```
bash
docker run
-d
-p
3000:8080
-e
OLLAMA_API_BASE_URL
=
https://example.com/api
\
docker run
-d
-p
3000:8080
-e
OLLAMA_API_BASE_URL
=
https://example.com/api
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always ghcr.io/ollama-webui/ollama-webui:main
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always
\
ghcr.io/ollama-webui/ollama-webui:main
```
```
Or for a self-built container:
Or for a self-built container:
```
bash
```
bash
docker build
-t
ollama-webui
.
docker build
-t
ollama-webui
.
docker run
-d
-p
3000:8080
-e
OLLAMA_API_BASE_URL
=
https://example.com/api
\
docker run
-d
-p
3000:8080
-e
OLLAMA_API_BASE_URL
=
https://example.com/api
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always ollama-webui
-v
ollama-webui:/app/backend/data
--name
ollama-webui
--restart
always
\
ollama-webui
```
```
### Installing Ollama and Ollama Web UI Together
### Installing Ollama and Ollama Web UI Together
...
...
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