mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
update docker compose to show how to pass a config.yaml
This commit is contained in:
parent
f10f589ddd
commit
5e12364fad
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@ services:
|
||||||
args:
|
args:
|
||||||
target: runtime
|
target: runtime
|
||||||
image: ghcr.io/berriai/litellm:main-stable
|
image: ghcr.io/berriai/litellm:main-stable
|
||||||
|
#########################################
|
||||||
|
## Uncomment these lines to start proxy with a config.yaml file ##
|
||||||
|
# volumes:
|
||||||
|
# - ./proxy_server_config.yaml:/app/config.yaml
|
||||||
|
# command: [ "--config", "./config.yaml", "--port", "4000"]
|
||||||
|
###############################################
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000" # Map the container port to the host, change the host port if necessary
|
- "4000:4000" # Map the container port to the host, change the host port if necessary
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue