Files
mijn-docker-stacks/litellm/compose.yaml
T

24 lines
552 B
YAML

services:
litellm:
image: ghcr.io/berriai/litellm:main-latest
container_name: litellm-proxy
restart: unless-stopped
ports:
- "4000:4000"
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
- LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY}
volumes:
- litellm-config:/app/config
command: ["--config", "/app/config/litellm_config.yaml", "--port", "4000", "--host", "0.0.0.0"]
networks:
- proxy-network
volumes:
litellm-config:
name: litellm-config
networks:
proxy-network:
external: true