Files
configs/docker_compose/openai/docker-compose.yaml
2026-05-29 09:28:07 +00:00

24 lines
825 B
YAML

# 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}\"]]"