32 lines
777 B
YAML
32 lines
777 B
YAML
services:
|
|
# Begin LiteLLM service
|
|
# litellm:
|
|
# image: ghcr.io/berriai/litellm:main-latest
|
|
# command: --config /config.yaml
|
|
# ports:
|
|
# - 8000:8000
|
|
# env_file:
|
|
# - .env
|
|
# environment:
|
|
# - HOST=0.0.0.0
|
|
# - PORT=8000
|
|
# volumes:
|
|
# - ./litellm/config.yaml:/config.yaml
|
|
|
|
# Begin open-webui
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
OLLAMA_BASE_URL: http://host.docker.internal:11434
|
|
WEBUI_AUTH: "False"
|
|
no_proxy: localhost,127.0.0.1,docker.internal
|
|
NO_PROXY: localhost,127.0.0.1,docker.internal
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
volumes:
|
|
- open-webui_data:/app/backend/data
|
|
|
|
volumes:
|
|
open-webui_data: |