litellm
/
docker-compose.yml
16 строк · 707.0 Байт
1version: "3.9"
2services:
3litellm:
4build:
5context: .
6args:
7target: runtime
8image: ghcr.io/berriai/litellm:main-latest
9ports:
10- "4000:4000" # Map the container port to the host, change the host port if necessary
11volumes:
12- ./litellm-config.yaml:/app/config.yaml # Mount the local configuration file
13# You can change the port or number of workers as per your requirements or pass any new supported CLI augument. Make sure the port passed here matches with the container port defined above in `ports` value
14command: [ "--config", "/app/config.yaml", "--port", "4000", "--num_workers", "8" ]
15
16# ...rest of your docker-compose config if any