fix: use DISABLE_SWAGGER_UI environment variable instead of invalid flag
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user