From 1e55297ce9a0876dad733c056569b794306e2836 Mon Sep 17 00:00:00 2001 From: NaeemDosh Date: Sun, 2 Aug 2026 15:04:14 +0500 Subject: [PATCH] fix(compose): correct litellm-redis command indentation (broke whole file) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The litellm-redis `command:` was indented at service level (2 spaces) instead of inside the service (4 spaces), so Docker Compose parsed it as a bogus top-level service named `command` and rejected the entire file with: services.command must be a mapping This made `docker compose ` fail — the whole stack was unstartable. Re-indented it under litellm-redis; `docker compose config` now validates. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 67d1765..7d7e519 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -613,7 +613,7 @@ services: interval: 5s timeout: 3s retries: 5 - command: redis-server --requirepass ${LITELLM_REDIS_PASSWORD} --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru + command: redis-server --requirepass ${LITELLM_REDIS_PASSWORD} --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru volumes: # Persistent data for OpenSearch.