24 lines
822 B
YAML
24 lines
822 B
YAML
# Open WebUI - https://docs.openwebui.com/getting-started/quick-start/
|
|
services:
|
|
openai:
|
|
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}\"]]" |