-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# open-webui | ||
|
||
**docker-compose.yml for open-webui** | ||
|
||
## Index | ||
|
||
1. [prerequisites](#prerequisites) | ||
2. [deploy docker-compose.yml](#deploy) | ||
3. [reverse-proxy / nginx configuration](#reverse-proxy) | ||
4. [usage](#usage) | ||
4.1 [browse](#browse) | ||
|
||
\# [Find Me](#findme) | ||
\# [License](#license) | ||
|
||
# 1. prerequisites <a name="prerequisites"></a> | ||
|
||
**generate a new [OpenAI User API key](https://platform.openai.com/settings/profile?tab=api-keys) and replace it in the docker-compose.yml** | ||
|
||
# 2. deploy docker-compose.yml <a name="deploy"></a> | ||
|
||
**[see docker/compose/open-webui/docker-compose.yml](https://github.com/3x3cut0r/vps/blob/main/docker/compose/open-webui/docker-compose.yml)** | ||
|
||
# 3. reverse-proxy / nginx configuration <a name="reverse-proxy"></a> | ||
|
||
**add new proxy host to your nginx or nginx-proxy-manager** | ||
**[or see nginx/conf.d/open-webui.conf](https://github.com/3x3cut0r/vps/blob/main/nginx/conf.d/open-webui.conf)** | ||
|
||
# 4. usage <a name="usage"></a> | ||
|
||
### 4.1 browse <a name="browse"></a> | ||
|
||
**Frontend** | ||
[https://open-webui.3x3cut0r.de](https://open-webui.3x3cut0r.de) | ||
|
||
### Find Me <a name="findme"></a> | ||
|
||
![E-Mail](https://img.shields.io/badge/E--Mail-executor55%40gmx.de-red) | ||
|
||
- [GitHub](https://github.com/3x3cut0r) | ||
- [DockerHub](https://hub.docker.com/u/3x3cut0r) | ||
|
||
### License <a name="license"></a> | ||
|
||
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) - This project is licensed under the GNU General Public License - see the [gpl-3.0](https://www.gnu.org/licenses/gpl-3.0.en.html) for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
version: '3.9' | ||
|
||
# https://github.com/open-webui/open-webui | ||
services: | ||
open-webui: | ||
container_name: open-webui | ||
image: ghcr.io/open-webui/open-webui:main | ||
restart: unless-stopped | ||
ports: | ||
- '2139:8080' | ||
networks: | ||
open-webui: | ||
ipv4_address: '10.24.39.2' | ||
dns: | ||
- '1.1.1.1' | ||
- '1.0.0.1' | ||
- '2606:4700:4700::1111' | ||
- '2606:4700:4700::1001' | ||
# Environment Variables Configuration: https://docs.openwebui.com/getting-started/env-configuration | ||
environment: | ||
TZ: 'Europe/Berlin' | ||
ENV: 'prod' | ||
# WEBUI_AUTH: 'True' | ||
# WEBUI_NAME: 'Open WebUI' | ||
# ENABLE_SIGNUP: 'True' | ||
# OLLAMA_BASE_URL: 'http://localhost:11434' | ||
OPENAI_API_KEY: '<OPENAI_API_KEY>' | ||
# OPENAI_API_BASE_URL: 'https://api.openai.com/v1' | ||
ENABLE_IMAGE_GENERATION: 'True' | ||
IMAGE_GENERATION_ENGINE: 'openai' | ||
IMAGE_GENERATION_MODEL: 'dall-e-3' | ||
# ENABLE_LITELLM: 'True' | ||
# LITELLM_PROXY_PORT: '14365' | ||
# LITELLM_PROXY_HOST: '127.0.0.1' | ||
volumes: | ||
- open-webui-data:/app/backend/data | ||
|
||
networks: | ||
open-webui: | ||
name: open-webui | ||
ipam: | ||
driver: default | ||
config: | ||
- subnet: '10.24.39.0/24' | ||
gateway: '10.24.39.1' | ||
|
||
volumes: | ||
open-webui-data: | ||
name: open-webui-data |