From 4396ca9fb8da058c7a7648060297e3fdfdbd40db Mon Sep 17 00:00:00 2001 From: healdigital Date: Sat, 16 May 2026 09:45:54 +0200 Subject: [PATCH] fix(coolify): use environment map syntax for Coolify v4 parser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Coolify v4's PHP-based docker-compose validator rejects the shorthand environment list syntax ('- VAR' without =) with: Error: non-string key in services.agentmemory.environment: 0 Switching to the map form with explicit variable substitution preserves the original 'inherit from build env' behavior — Coolify still resolves SERVICE_FQDN_AGENTMEMORY_3111 from the magic variable mechanism — while satisfying the stricter parser. Verified with: SERVICE_FQDN_AGENTMEMORY_3111=https://example.com \ docker compose -f deploy/coolify/docker-compose.yml \ --project-directory deploy/coolify config Tested live on a Coolify v4.0.0-beta.397 instance: deploy succeeds and container reaches running:healthy on first try with this change. --- deploy/coolify/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/coolify/docker-compose.yml b/deploy/coolify/docker-compose.yml index 1bd48648..149f806d 100644 --- a/deploy/coolify/docker-compose.yml +++ b/deploy/coolify/docker-compose.yml @@ -9,7 +9,7 @@ services: III_SDK_VERSION: "0.11.2" restart: unless-stopped environment: - - SERVICE_FQDN_AGENTMEMORY_3111 + SERVICE_FQDN_AGENTMEMORY_3111: ${SERVICE_FQDN_AGENTMEMORY_3111} expose: - "3111" volumes: