Merge pull request #114 from marcosebsilva/main

This commit is contained in:
Timothy Jaeryang Baek 2024-06-11 16:48:28 -07:00 committed by GitHub
commit 19cde6805e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View File

@ -108,6 +108,18 @@ When using Docker to install Open WebUI, make sure to include the `-v open-webui
</details>
<details>
<summary>Data Storage in Docker</summary>
This tutorial uses [Docker named volumes](https://docs.docker.com/storage/volumes/) to guarantee the **persistance of your data**. This might make it difficult to know exactly where your data is stored in your machine if this is your first time using Docker. Alternatively, you can replace the volume name with a absolute path on your host machine to link your container data to a folder in your computer using a [bind mount](https://docs.docker.com/storage/bind-mounts/).
**Example**: change `-v open-webui:/app/backend/data` to `-v /path/to/folder:/app/backend/data`
Ensure you have the proper access rights to the folder on your host machine.
Visit the [Docker documentation](https://docs.docker.com/storage/) to understand more about volumes and bind mounts.
</details>
### Installation with Default Configuration
- **If Ollama is on your computer**, use this command:

View File

@ -53,6 +53,18 @@ You cannot switch between single-user mode and multi-account mode after this cha
When using Docker to install Open WebUI, make sure to include the `-v open-webui:/app/backend/data` in your Docker command. This step is crucial as it ensures your database is properly mounted and prevents any loss of data.
:::
<details>
<summary>Data Storage in Docker</summary>
This tutorial uses [Docker named volumes](https://docs.docker.com/storage/volumes/) to guarantee the **persistance of your data**. This might make it difficult to know exactly where your data is stored in your machine if this is your first time using Docker. Alternatively, you can replace the volume name with a absolute path on your host machine to link your container data to a folder in your computer using a [bind mount](https://docs.docker.com/storage/bind-mounts/).
**Example**: change `-v open-webui:/app/backend/data` to `-v /path/to/folder:/app/backend/data`
Ensure you have the proper access rights to the folder on your host machine.
Visit the [Docker documentation](https://docs.docker.com/storage/) to understand more about volumes and bind mounts.
</details>
### Installation with Default Configuration
- **If Ollama is on your computer**, use this command: