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

29 lines
580 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
2024-02-03 03:27:22 +00:00
litellm:
image: ghcr.io/berriai/litellm:main-latest
command: --config /config.yaml
ports:
- 8000:8000
2024-02-22 03:45:35 +00:00
env_file:
- .env
environment:
- HOST=0.0.0.0
- PORT=8000
2024-02-03 03:27:22 +00:00
volumes:
- ./litellm/config.yaml:/config.yaml:ro
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
2024-02-03 03:27:22 +00:00
env_file:
- .env
environment:
2024-03-28 18:00:29 +00:00
OLLAMA_BASE_URL: http://ollama:11434
2024-02-03 03:27:22 +00:00
volumes:
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: