From 2a9a6a2761001592f4911cff14756d54290f90fd Mon Sep 17 00:00:00 2001 From: arch3rPro Date: Mon, 13 Oct 2025 02:04:30 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Aupdate=20litellm=20api-key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/litellm/latest/data.yml | 10 ++++++++++ apps/litellm/latest/docker-compose.yml | 1 + 2 files changed, 11 insertions(+) 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