update webui to be openai

This commit is contained in:
2026-05-29 09:28:07 +00:00
Unverified
parent 823240d456
commit 67610405a9
2 changed files with 29 additions and 0 deletions

5
docker_compose/openai/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
# ------------------------------------------------------------------------------
# SECRETS AND CREDENTIALS (NEVER COMMIT THESE)
# ------------------------------------------------------------------------------
data/

View File

@@ -0,0 +1,24 @@
# Open WebUI - https://docs.openwebui.com/getting-started/quick-start/
services:
openwebui:
container_name: openai
image: ghcr.io/open-webui/open-webui:latest
restart: unless-stopped
ports:
- "${OPEN_WEB_UI_PORT}:8080"
volumes:
- ./data:/app/backend/data
environment:
- OLLAMA_BASE_URL=${OPEN_WEB_UI_COMPUTE}
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
labels:
# Nginx Proxy Manager Automation
- "npm.proxy.domains=openai"
- "npm.proxy.host=${DOCKER_HOST_IP}"
- "npm.proxy.port=${OPEN_WEB_UI_PORT}"
- "npm.proxy.scheme=http"
#- "npm.proxy.websockets=true"
#- "npm.proxy.ssl_verify=false"
#- "npm.proxy.ssl.force=true"
#- "npm.proxy.ssl.certificate.id=1"
- "pihole.custom-record=[[\"openai\", \"${DOCKER_HOST_IP}\"]]"