chore: update docker-compose configuration for open-webui service
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
open-webui:
|
open-webui:
|
||||||
image: ghcr.io/open-webui/open-webui:v0.6.36
|
image: ghcr.io/open-webui/open-webui:latest
|
||||||
|
|
||||||
container_name: open-webui
|
container_name: open-webui
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
- MODEL_SERVER_URL=http://ollama:11434
|
- MODEL_SERVER_URL=http://ollama:11434
|
||||||
- PROVIDER=ollama,openai
|
- PROVIDER=ollama,openai
|
||||||
- OPENAI_API_KEY=YourAPIKEY
|
- OPENAI_API_KEY=YourAPIKEY
|
||||||
# This variable is required to be set, otherwise you may experience Websocket issues, doesn't fix my issues tho
|
# With below set, and turning off basic auth in nginx, I was able to get reverse proxy working
|
||||||
- CORS_ALLOW_ORIGIN=https://open-webui.example.com;https://example.com;http://open-webui;http://open-webui:8080;https://open-webui:8080;http://192.168.1.239;http://192.168.1.239:3030;http://localhost:3030;http://192.168.1.1:80;http://192.168.1.1:443
|
- CORS_ALLOW_ORIGIN=https://open-webui.example.com;https://example.com;http://open-webui;http://open-webui:8080;https://open-webui:8080;http://192.168.1.239;http://192.168.1.239:3030;http://localhost:3030;http://192.168.1.1:80;http://192.168.1.1:443
|
||||||
- WEBUI_URL=https://open-webui.example.com;https://example.com;http://open-webui;http://open-webui:8080;https://open-webui:8080;http://192.168.1.239;http://192.168.1.239:3030;http://localhost:3030;http://192.168.1.1:80;http://192.168.1.1:443
|
- WEBUI_URL=https://open-webui.example.com;https://example.com;http://open-webui;http://open-webui:8080;https://open-webui:8080;http://192.168.1.239;http://192.168.1.239:3030;http://localhost:3030;http://192.168.1.1:80;http://192.168.1.1:443
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
- open-wui
|
- open-wui
|
||||||
openwebui_net:
|
openwebui_net:
|
||||||
aliases:
|
aliases:
|
||||||
- openwebui_internal
|
- openwebui_internal # to connect to redis network, and not redis connect to homelab anymore (multi redis)
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis-valkey-webui
|
- redis-valkey-webui
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user