Skip to content

Commit ea7687d

Browse files
committed
add .env instructions
1 parent ed534b4 commit ea7687d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

eval_protocol/proxy/.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# In order to set other model providers keys for proxy, make a copy, rename to .env, and fill here
2+
OPENAI_API_KEY=sk-proj-xxx

eval_protocol/proxy/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ services:
1919
platform: linux/amd64
2020
container_name: litellm-backend
2121
command: ["--config", "/app/config.yaml", "--port", "4000", "--host", "0.0.0.0"]
22+
# If you want to be able to use other model providers like OpenAI, Anthropic, etc., you need to set keys in .env file.
23+
env_file:
24+
- .env # Load API keys from .env file
2225
environment:
2326
- LANGFUSE_PUBLIC_KEY=dummy # Set dummy public and private key so Langfuse instance initializes in LiteLLM, then real keys get sent in proxy
2427
- LANGFUSE_SECRET_KEY=dummy

0 commit comments

Comments
 (0)