update webui to be openai
This commit is contained in:
24
docker_compose/openai/docker-compose.yaml
Normal file
24
docker_compose/openai/docker-compose.yaml
Normal 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}\"]]"
|
||||
Reference in New Issue
Block a user