Add Docker Compose configuration for litellm service

This commit is contained in:
MisticDruid authored and GitHub committed 2026-01-25 23:16:44 +01:00
1 parent b1a7d4b0ee
commit e8b64f7df1
1 file changed
+23
+23
View File
@@ -0,0 +1,23 @@
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