-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
89 lines (82 loc) · 4.43 KB
/
docker-compose.yml
File metadata and controls
89 lines (82 loc) · 4.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
playwright-mcp:
image: mcr.microsoft.com/playwright/mcp:latest
expose: ["8931"]
init: true
# See https://github.com/microsoft/playwright-mcp?tab=readme-ov-file#standalone-mcp-server (Docker section)
entrypoint: ["node"]
command: ["cli.js", "--headless", "--browser", "chromium", "--no-sandbox", "--port", "8931"]
# Check if the MCP server is listening on port 8931 using a simple TCP connection.
# Exits 0 if the port is open (healthy), or 1 if the connection fails (unhealthy).
# We use this syntax because other commonly used commands are not available in this image.
healthcheck:
test: ["CMD-SHELL", "timeout 2 bash -c '</dev/tcp/localhost/8931'"]
interval: 5s
timeout: 5s
retries: 5
start_period: 5s
hayhooks:
build: .
expose: ["1416"]
volumes:
- ./pipelines:/pipelines
environment:
- HAYHOOKS_PIPELINES_DIR=/pipelines
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
depends_on:
playwright-mcp:
condition: service_healthy
open-webui:
image: ghcr.io/open-webui/open-webui:v0.6.24
container_name: open-webui
volumes:
- ./open-webui:/app/backend/data
ports:
- 3000:8080
environment:
# Environment Variable Configuration: https://docs.openwebui.com/getting-started/env-configuration/
# Here we make the default OPENAI_API_BASE_URL point to hayhooks...
OPENAI_API_BASE_URL: http://hayhooks:1416
# ...and we use a dummy key for the OpenAI API key (not needed)
OPENAI_API_KEY: "dummy"
# Disables Open WebUI's network connections for update checks and automatic model downloads.
OFFLINE_MODE: "True"
ENABLE_VERSION_UPDATE_CHECK: "False"
# Other settings - If you enable some of these features, expect repeated calls to our model
ENABLE_TAGS_GENERATION: "False"
ENABLE_TITLE_GENERATION: "False"
ENABLE_FOLLOW_UP_GENERATION: "False"
ENABLE_EVALUATION_ARENA_MODELS: "False"
ENABLE_AUTOCOMPLETE_GENERATION: "False"
ENABLE_CODE_EXECUTION: "False"
ENABLE_OLLAMA_API: "False"
ENABLE_DIRECT_CONNECTIONS: "False"
# Auth - more information here: https://docs.openwebui.com/features/sso/
WEBUI_AUTH: "False"
DEFAULT_USER_ROLE: user
DEFAULT_PROMPT_SUGGESTIONS: |-
[
{
"title": ["🗞️🗞️ Find similar news stories", "Compare BBC and NBC"],
"content": "1. Visit www.nbcnews.com\n2. Visit www.bbc.com\n3. Identify news stories that appear on both sites.\n4. Your final response must contain only a Markdown table listing the shared news stories and their respective links from each site."
},
{
"title": ["👨🏻💻 Find information about a GitHub contributor", "Top trending repo author"],
"content": "I'm trying to find how hard I have to work to get a repo in github.com/trending.\nCan you navigate to the profile for the top author of the top trending repo,\nand give me their total number of contributions over the last year?"
},
{
"title": ["🚂 🚌 Find public transportation travel options", "Paris to Berlin"],
"content": "1. Using Google Maps, find the next 3 available public transportation travel options from Paris to Berlin departing today.\n2. The goal is creating a markdown table containing Route Description, Department hour, Arrival hour, Duration and Transfers.\n3. Emojis in headers of the table.\n4. Include a final link to the Google Map search outside table"
},
{
"title": ["🖼️ 🤗 Image generation via Hugging Face spaces", "Prompt refinement + Flux 1 Schnell"],
"content": "1. Visit Hugging Face Spaces, search the Space named exactly \"FLUX.1 [schnell]\" and enter it.\n2. Craft a detailed, descriptive prompt using your language skills to depict: \"my holiday on Lake Como\".\n3. Use this prompt to generate an image within the Space.\n4. After prompting, wait 5 seconds to allow the image to fully generate. Repeat until the image is generated.\n5. Your final response must contain only the direct link to the generated image — no additional text."
},
{
"title": ["📅 Who was born on this day?", ""],
"content": "I was born on November 10th. Find five notable people born on the same day using Wikipedia."
}
]
depends_on:
- hayhooks
restart: unless-stopped