litellm/docker-compose.example.yml

13 lines
634 B
YAML
Raw Normal View History

2023-12-03 14:58:05 +08:00
version: "3.9"
services:
litellm:
2023-12-06 13:07:45 +08:00
image: ghcr.io/berriai/litellm:main
2023-12-03 14:58:05 +08:00
ports:
- "8000:8000" # Map the container port to the host, change the host port if necessary
volumes:
- ./litellm-config.yaml:/app/config.yaml # Mount the local configuration file
# 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
command: [ "--config", "/app/config.yaml", "--port", "8000", "--num_workers", "8" ]
# ...rest of your docker-compose config if any