forked from open-webui/open-webui
Refactor Docker installation instructions in README for enhanced clarity
- Separate GPU support and API exposure instructions into distinct sections - Improve readability and user guidance for Docker Compose setup
This commit is contained in:
parent
bd722e39bb
commit
9395b4a1dc
1 changed files with 11 additions and 6 deletions
17
README.md
17
README.md
|
@ -79,13 +79,18 @@ If you don't have Ollama installed yet, you can use the provided Docker Compose
|
||||||
docker compose up -d --build
|
docker compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
This command will install both Ollama and Ollama Web UI on your system.
|
This command will install both Ollama and Ollama Web UI on your system.
|
||||||
Enable GPU support or Exposing Ollama API outside the container stack with the following command:
|
|
||||||
|
#### Enable GPU
|
||||||
|
Use the additional Docker Compose file designed to enable GPU support by running the following command:
|
||||||
```bash
|
```bash
|
||||||
docker compose -f docker-compose.yml \
|
docker compose -f docker-compose.yml -f docker-compose.gpu.yml up -d --build
|
||||||
-f docker-compose.gpu.yml \
|
```
|
||||||
-f docker-compose.api.yml \
|
|
||||||
up -d --build
|
#### Expose Ollama API outside the container stack
|
||||||
|
Deploy the service with an additional Docker Compose file designed for API exposure:
|
||||||
|
```bash
|
||||||
|
docker compose -f docker-compose.yml -f docker-compose.api.yml up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installing Ollama Web UI Only
|
### Installing Ollama Web UI Only
|
||||||
|
|
Loading…
Reference in a new issue