34 lines
811 B
YAML
34 lines
811 B
YAML
services:
|
|
litellm:
|
|
image: ghcr.io/berriai/litellm:main-latest
|
|
container_name: kite-litellm
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
command: ["--config", "/app/config.yaml", "--port", "4000"]
|
|
volumes:
|
|
- ./litellm_config.yaml:/app/config.yaml
|
|
ports:
|
|
- "4000:4000"
|
|
|
|
openwebui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: kite-openwebui
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- WEBUI_NAME=Kite AI
|
|
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
|
- ENABLE_SIGNUP=false
|
|
- OPENAI_API_BASE_URL=http://litellm:4000/v1
|
|
- OPENAI_API_KEY=${LITELLM_MASTER_KEY}
|
|
volumes:
|
|
- open-webui:/app/backend/data
|
|
ports:
|
|
- "3100:8080"
|
|
depends_on:
|
|
- litellm
|
|
|
|
volumes:
|
|
open-webui:
|