-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (34 loc) · 1.14 KB
/
docker-compose.yml
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
services:
hayhooks:
build: . # Build from local Dockerfile
container_name: hayhooks
ports:
- "1416:1416"
volumes:
- ./pipelines:/pipelines
environment:
- HAYHOOKS_PIPELINES_DIR=/pipelines
# Note that this is the REAL OPENAI_API_KEY key
# which you should have in your environment variables.
# It will be used by hayhooks in chat_with_website pipeline
- OPENAI_API_KEY=${OPENAI_API_KEY}
open-webui:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
container_name: open-webui
volumes:
- open-webui:/app/backend/data
ports:
- ${OPEN_WEBUI_PORT-3000}:8080
environment:
- WEBUI_AUTH=false
# 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"
# We disable tags generation and evaluation arena models
# as they are not needed for hayhooks
- ENABLE_TAGS_GENERATION=false
- ENABLE_EVALUATION_ARENA_MODELS=false
restart: unless-stopped
volumes:
open-webui: