Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ open-webui/
.env.docker.local
.env
litellm_config.yaml
tools/*
22 changes: 22 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ vars:
OPEN_WEBUI_VERSION: 'v0.8.10'
PROD_OPEN_WEBUI_VERSION: 'v0.8.10-2'
TARGET_DIR: 'open-webui'

# MCP Retsinformation
MCP_RETSINFORMATION_REPO: 'https://github.com/itk-dev/mcp-retsinformation.git'
MCP_RETSINFORMATION_BRANCH: 'feature/first-release'
MCP_RETSINFORMATION_DIR: 'tools/mcp-retsinformation'

PATCHES:
- name: 'Pinned info banner'
url: 'https://patch-diff.githubusercontent.com/raw/AarhusAI/open-webui/pull/32.diff'
Expand Down Expand Up @@ -340,3 +346,19 @@ tasks:
vars:
IMAGE_NAME: ghcr.io/os2ai/open-webui
PATCH_TASK: patch:base

####
## MCP tools
####
mcp:retsinformation:install:
desc: "Clone mcp-retsinformation into tools folder"
cmds:
- git clone --branch {{ .MCP_RETSINFORMATION_BRANCH }} --single-branch {{ .MCP_RETSINFORMATION_REPO }} {{ .MCP_RETSINFORMATION_DIR }}
silent: true

mcp:retsinformation:update:
desc: "Update mcp-retsinformation to latest on {{ .MCP_RETSINFORMATION_BRANCH }}"
dir: "{{ .MCP_RETSINFORMATION_DIR }}"
cmds:
- git pull
silent: true
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,3 +469,18 @@ services:
- ./.docker/data/searxng/data/:/var/cache/searxng/
- ./.docker/searxng/aarhus.py:/usr/local/searxng/searx/engines/aarhus.py

mcp-retsinformation:
build:
context: tools/mcp-retsinformation
networks:
- app
ports:
- "8000"
environment:
RETSINFORMATION_BASE_URL: ${RETSINFORMATION_BASE_URL:-https://retsinformation-api.dk}
healthcheck:
test: ["CMD", "python", "-c", "import socket; s=socket.socket(); s.connect(('localhost',8000)); s.close()"]
interval: 10s
timeout: 5s
retries: 5
start_period: 15s
Empty file added tools/.gitkeep
Empty file.