diff --git a/litellm/compose.yaml b/litellm/compose.yaml new file mode 100644 index 0000000..61bf57c --- /dev/null +++ b/litellm/compose.yaml @@ -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