(docs) update docker compose docs

This commit is contained in:
Ayush Somani 2023-12-06 10:37:45 +05:30 committed by GitHub
parent b0fcc5af67
commit 0bf3de0a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
version: "3.9"
services:
litellm:
image: ghcr.io/berriai/litellm:main-v1.10.3
image: ghcr.io/berriai/litellm:main
ports:
- "8000:8000" # Map the container port to the host, change the host port if necessary
volumes:

View file

@ -328,14 +328,16 @@ docker run ghcr.io/berriai/litellm:main-v1.10.0 --port 8002 --num_workers 8
**Step 1**
(Recommended) Use the `docker-compose.yml` given in the project root. e.g. https://github.com/BerriAI/litellm/blob/main/docker-compose.yml
- (Recommended) Use the example file `docker-compose.example.yml` given in the project root. e.g. https://github.com/BerriAI/litellm/blob/main/docker-compose.example.yml
- Rename the file `docker-compose.example.yml` to `docker-compose.yml`.
Here's an example `docker-compose.yml` file
```yaml
version: "3.9"
services:
litellm:
image: ghcr.io/berriai/litellm:main-v1.10.3
image: ghcr.io/berriai/litellm:main
ports:
- "8000:8000" # Map the container port to the host, change the host port if necessary
volumes: