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}
|
LITELLM_MASTER_KEY: ${AI_LITELLM_API_KEY}
|
||||||
DATABASE_URL: postgresql://${AI_DB_USER}:${AI_DB_PASSWORD}@ai_postgres:5432/litellm
|
DATABASE_URL: postgresql://${AI_DB_USER}:${AI_DB_PASSWORD}@ai_postgres:5432/litellm
|
||||||
LITELLM_DROP_PARAMS: 'true'
|
LITELLM_DROP_PARAMS: 'true'
|
||||||
|
DISABLE_SWAGGER_UI: 'true'
|
||||||
volumes:
|
volumes:
|
||||||
- ./litellm-config.yaml:/app/litellm-config.yaml:ro
|
- ./litellm-config.yaml:/app/litellm-config.yaml:ro
|
||||||
command:
|
command:
|
||||||
@@ -110,8 +111,7 @@ services:
|
|||||||
'--port',
|
'--port',
|
||||||
'4000',
|
'4000',
|
||||||
'--detailed_debug',
|
'--detailed_debug',
|
||||||
'--drop_params',
|
'--drop_params'
|
||||||
'--disable_swagger'
|
|
||||||
]
|
]
|
||||||
depends_on:
|
depends_on:
|
||||||
- ai_postgres
|
- ai_postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user