From bdb7c0a0a70822942da09fec94a05c04c09316be Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 25 Jan 2024 17:13:17 -0800 Subject: [PATCH] (ci/cd) docker compose up with ui --- docker-compose.example.yml | 12 ------------ docker-compose.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 12 deletions(-) delete mode 100644 docker-compose.example.yml create mode 100644 docker-compose.yml diff --git a/docker-compose.example.yml b/docker-compose.example.yml deleted file mode 100644 index 6fdaf1506..000000000 --- a/docker-compose.example.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: "3.9" -services: - litellm: - image: ghcr.io/berriai/litellm:main - 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 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..36d5d3976 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +version: "3.9" +services: + litellm: + image: ghcr.io/berriai/litellm:main-latest + volumes: + - ./proxy_server_config.yaml:/app/proxy_server_config.yaml # mount your litellm config.yaml + ports: + - "4000:4000" + environment: + - AZURE_API_KEY=sk-123 + litellm-ui: + image: ghcr.io/berriai/litellm-ui:main-latest + + +