From 867c179e2da462300d96500492381299b45ab69e Mon Sep 17 00:00:00 2001 From: Robin Kroonen Date: Wed, 15 May 2024 11:10:00 -0400 Subject: [PATCH] latest changes with upstream --- docker-compose.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 74249febd..042c73c23 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -14,7 +14,7 @@ services: args: OLLAMA_BASE_URL: '/ollama' dockerfile: Dockerfile - image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main} + image: ghcr.io/open-webui/open-webui:dev container_name: open-webui volumes: - open-webui:/app/backend/data @@ -25,10 +25,23 @@ services: environment: - 'OLLAMA_BASE_URL=http://ollama:11434' - 'WEBUI_SECRET_KEY=' + - 'OPENAI_API_KEY=${OPENAI_API_KEY}' + - 'LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY}' + - 'LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY}' extra_hosts: - host.docker.internal:host-gateway restart: unless-stopped + watchtower: + container_name: watchtower + image: containrrr/watchtower:latest + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock + environment: + - WATCHTOWER_CLEANUP=true + - WATCHTOWER_POLL_INTERVAL=1800 + volumes: ollama: {} open-webui: {}