From b66e28d874fcd77b1ed96897833b9e18dfaeac5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Fri, 14 Nov 2025 02:15:31 +0100 Subject: [PATCH] fix: use DISABLE_SWAGGER_UI environment variable instead of invalid flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove invalid --disable_swagger command flag - Add DISABLE_SWAGGER_UI=true environment variable - Fixes LiteLLM startup error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- ai/compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/compose.yaml b/ai/compose.yaml index 25012dd..512bb00 100644 --- a/ai/compose.yaml +++ b/ai/compose.yaml @@ -99,6 +99,7 @@ services: LITELLM_MASTER_KEY: ${AI_LITELLM_API_KEY} DATABASE_URL: postgresql://${AI_DB_USER}:${AI_DB_PASSWORD}@ai_postgres:5432/litellm LITELLM_DROP_PARAMS: 'true' + DISABLE_SWAGGER_UI: 'true' volumes: - ./litellm-config.yaml:/app/litellm-config.yaml:ro command: @@ -110,8 +111,7 @@ services: '--port', '4000', '--detailed_debug', - '--drop_params', - '--disable_swagger' + '--drop_params' ] depends_on: - ai_postgres