ultisuite-backend/deploy/openwebui/docker-compose.openwebui.yml
R3D347HR4Y 0466a1c169
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run
wow
2026-06-11 01:22:52 +02:00

45 lines
1.4 KiB
YAML

# Optional overlay: docker compose -f docker-compose.yml -f openwebui/docker-compose.openwebui.yml up -d
services:
openwebui:
image: ghcr.io/open-webui/open-webui:main
restart: unless-stopped
environment:
WEBUI_AUTH: "true"
WEBUI_AUTH_TRUSTED_EMAIL_HEADER: X-Ulti-User-Email
WEBUI_AUTH_TRUSTED_NAME_HEADER: X-Ulti-User-Name
WEBUI_AUTH_TRUSTED_ROLE_HEADER: X-Ulti-User-Role
ENABLE_PERSISTENT_CONFIG: "false"
ENABLE_DIRECT_CONNECTIONS: "false"
OPENAI_API_BASE_URL: http://ultid:8080/api/v1/ai
OPENAI_API_KEY: ulti-gateway
WEBUI_URL: http://${DOMAIN:-localhost}/ai
DATABASE_URL: postgresql://openwebui:${OPENWEBUI_DB_PASSWORD:-changeme}@postgres:5432/openwebui
USER_PERMISSIONS_CHAT_TEMPORARY_ENFORCED: "false"
volumes:
- openwebui_data:/app/backend/data
- ../services/openwebui/pipelines:/app/pipelines/custom:ro
networks:
- ulti-net
depends_on:
postgres:
condition: service_healthy
ultid:
condition: service_started
ultimail-mcp:
build:
context: ../services/ultimail-mcp
dockerfile: Dockerfile
restart: unless-stopped
environment:
ULTID_API_URL: http://ultid:8080/api/v1
MCP_PORT: "3100"
networks:
- ulti-net
depends_on:
ultid:
condition: service_started
volumes:
openwebui_data: