From a66b4855a39f8778da13795ef12feae3032d46af Mon Sep 17 00:00:00 2001 From: Ayush Somani <25874080+geekyayush@users.noreply.github.com> Date: Sun, 3 Dec 2023 12:28:05 +0530 Subject: [PATCH] feat: add docker-compose file --- docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..35e283966 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3.9" +services: + litellm: + image: ghcr.io/berriai/litellm:main-v1.10.3 + 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