1
0
Fork 0
local-llm/docker-compose.base.yml

31 lines
724 B
YAML
Raw Normal View History

2024-02-03 03:27:22 +00:00
services:
2024-02-07 00:27:03 +00:00
# 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
2024-02-03 03:27:22 +00:00
2024-03-28 18:00:29 +00:00
# Begin open-webui
open-webui:
image: ghcr.io/open-webui/open-webui:main
2024-02-03 03:27:22 +00:00
ports:
2024-03-28 18:00:29 +00:00
- 8080:8080
- 11434:11434
2024-02-03 03:27:22 +00:00
environment:
OLLAMA_BASE_URL: http://localhost:11434
extra_hosts:
- host.docker.internal:host-gateway
2024-02-03 03:27:22 +00:00
volumes:
- ./litellm/config.yaml:/app/backend/data/litellm/config.yaml
2024-03-28 18:00:29 +00:00
- open-webui_data:/app/backend/data
2024-02-03 03:27:22 +00:00
volumes:
2024-03-28 18:00:29 +00:00
open-webui_data: