This commit is contained in:
Timothy Jaeryang Baek 2024-12-28 21:41:44 -08:00
parent e15b360c41
commit 08e03df3d2
3 changed files with 4 additions and 50 deletions

View File

@ -11,7 +11,6 @@ import DockerCompose from './tab-docker/DockerCompose.md';
import Podman from './tab-docker/Podman.md';
import ManualDocker from './tab-docker/ManualDocker.md';
import DockerSwarm from './tab-docker/DockerSwarm.md';
import DataStorage from './tab-docker/DataStorage.md';
import DockerUpdating from './tab-docker/DockerUpdating.md';
import Helm from './tab-kubernetes/Helm.md';
import Kustomize from './tab-kubernetes/Kustomize.md';
@ -43,7 +42,6 @@ Choose your preferred installation method below:
<TabItem value="docker" label="Docker">
<div className='mt-5'>
<ManualDocker />
<DataStorage />
<DockerUpdating />
</div>
</TabItem>

View File

@ -1,12 +0,0 @@
## Data Storage and Bind Mounts
This project uses [Docker named volumes](https://docs.docker.com/storage/volumes/) to **persist data**. If needed, replace the volume name with a host directory:
**Example**:
```bash
-v /path/to/folder:/app/backend/data
```
Ensure the host folder has the correct permissions.

View File

@ -1,6 +1,6 @@
# Manual Docker Setup
## Quick Start with Docker 🐳
If you prefer to set up Docker manually, follow these steps for Open WebUI.
Follow these steps to install Open WebUI with Docker.
## Step 1: Pull the Open WebUI Image
@ -31,17 +31,8 @@ For Nvidia GPU support, add `--gpus all` to the `docker run` command:
docker run -d -p 3000:8080 --gpus all -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:cuda
```
## User Roles and Privacy
:::info **Important Note on User Roles and Privacy:**
- **Admin Creation**: The first account created on Open WebUI will have **Administrator privileges**, managing user access and system settings.
- **User Registrations**: Additional accounts start with a **Pending** status, requiring Administrator approval for access.
- **Data Security**: **All your data** is stored locally on your device, ensuring **privacy** and **no external requests**. Open WebUI does not transmit data externally by default.
:::
## Single-User Mode (Disabling Login)
#### Single-User Mode (Disabling Login)
To bypass the login page for a single-user setup, set the `WEBUI_AUTH` environment variable to `False`:
@ -53,22 +44,7 @@ docker run -d -p 3000:8080 -e WEBUI_AUTH=False -v open-webui:/app/backend/data -
You cannot switch between single-user mode and multi-account mode after this change.
:::
## Quick Start with Docker 🐳
### Essential Docker Command Options
For Docker installation, consider the following options:
- **Persistent Storage**: Use the `-v open-webui:/app/backend/data` option to ensure all application data remains available across sessions.
- **Exposing Ports**: Use the `-p` flag to map internal container ports to your system.
For example, if you're installing Open WebUI with data persistence and local-only port exposure, the command would be:
```bash
docker run -d -p 127.0.0.1:3000:8080 -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
```
### Advanced Configuration: Connecting to Ollama on a Different Server
#### Advanced Configuration: Connecting to Ollama on a Different Server
To connect Open WebUI to an Ollama server located on another host, add the `OLLAMA_BASE_URL` environment variable:
@ -76,14 +52,6 @@ To connect Open WebUI to an Ollama server located on another host, add the `OLLA
docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://example.com -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
```
### GPU Support with Nvidia
For running Open WebUI with Nvidia GPU support, use:
```bash
docker run -d -p 3000:8080 --gpus all -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda
```
## Access the WebUI
After the container is running, access Open WebUI at: