mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix(proxy_server.py): add support for setting master key via .env
This commit is contained in:
parent
ef8f1acfa4
commit
14e501845f
4 changed files with 36 additions and 6 deletions
22
docker/.env.example
Normal file
22
docker/.env.example
Normal file
|
@ -0,0 +1,22 @@
|
|||
############
|
||||
# Secrets
|
||||
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
|
||||
############
|
||||
|
||||
LITELLM_MASTER_KEY="sk-1234"
|
||||
|
||||
############
|
||||
# Database - You can change these to any PostgreSQL database that has logical replication enabled.
|
||||
############
|
||||
|
||||
# LITELLM_DATABASE_URL="your-postgres-db-url"
|
||||
|
||||
|
||||
############
|
||||
# User Auth - SMTP server details for email-based auth for users to create keys
|
||||
############
|
||||
|
||||
# SMTP_HOST = "fake-mail-host"
|
||||
# SMTP_USERNAME = "fake-mail-user"
|
||||
# SMTP_PASSWORD="fake-mail-password"
|
||||
# SMTP_SENDER_EMAIL="fake-sender-email"
|
3
docker/README.md
Normal file
3
docker/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# LiteLLM Docker
|
||||
|
||||
This is a minimal Docker Compose setup for self-hosting LiteLLM.
|
Loading…
Add table
Add a link
Reference in a new issue