fix(proxy_server.py): add support for setting master key via .env

This commit is contained in:
Krrish Dholakia 2024-01-03 15:10:25 +05:30
parent ef8f1acfa4
commit 14e501845f
4 changed files with 36 additions and 6 deletions

22
docker/.env.example Normal file
View 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
View file

@ -0,0 +1,3 @@
# LiteLLM Docker
This is a minimal Docker Compose setup for self-hosting LiteLLM.