diff --git a/apps/litellm/latest/data.yml b/apps/litellm/latest/data.yml index f557798..17c2a8d 100644 --- a/apps/litellm/latest/data.yml +++ b/apps/litellm/latest/data.yml @@ -9,3 +9,13 @@ additionalProperties: type: number edit: true rule: paramPort + - default: sk-1234 + envKey: LITELLM_MASTER_KEY + label: + en: LITELLM_MASTER_KEY + zh: LITELLM密钥 + required: true + type: text + edit: true + rule: paramCommon + values: [] diff --git a/apps/litellm/latest/docker-compose.yml b/apps/litellm/latest/docker-compose.yml index 0018155..a8ce8eb 100644 --- a/apps/litellm/latest/docker-compose.yml +++ b/apps/litellm/latest/docker-compose.yml @@ -16,6 +16,7 @@ services: environment: DATABASE_URL: "postgresql://llmproxy:dbpassword9090@db:5432/litellm" STORE_MODEL_IN_DB: "True" # allows adding models to proxy via UI + LITELLM_MASTER_KEY: ${LITELLM_MASTER_KEY} depends_on: - db # Indicates that this service depends on the 'db' service, ensuring 'db' starts first healthcheck: # Defines the health check configuration for the container