summaryrefslogtreecommitdiff
path: root/openwebui/docker-compose.yml
blob: ff2832b68d393f33220d066e118bbee5128196ef (plain)
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
services:
  openwebui:
    image: ghcr.io/open-webui/open-webui:main
    ports:
      - "3000:8080"
    volumes:
      - open-webui:/app/backend/data
    environment:
      - ENABLE_KB_EXEC=true
      - MODELS_CACHE_TTL=300
      - ENABLE_REALTIME_CHAT_SAVE=False
      - RAG_EMBEDDING_ENGINE=openai
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: unless-stopped

  open-terminal:
    image: ghcr.io/open-webui/open-terminal
    container_name: open-terminal
    ports:
      - "8001:8000"
    volumes:
      - open-terminal:/home/user
    environment:
      - OPEN_TERMINAL_MULTI_USER=true
      - OPEN_TERMINAL_API_KEY=${OPEN_TERMINAL_API_KEY}
    restart: unless-stopped
  tika:
    image: apache/tika:latest-full
    container_name: tika
    ports:
      - "9998:9998"
    restart: unless-stopped


volumes:
  open-webui:
  open-terminal: