From a3aca1d937d5ec9b0b0f3a1ef6d3d45b87a9bd4c Mon Sep 17 00:00:00 2001 From: Guillaume Date: Wed, 21 Oct 2026 09:29:41 +0000 Subject: [PATCH] fix(nginx): environment au format tableau attendu par Runtipi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le schéma v2 de Runtipi refuse environment sous forme d'objet (erreur « services[0].environment must be an array »). Revient au format [{key, value}] utilisé avant le commit d24d0c1. --- apps/nginx/docker-compose.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/nginx/docker-compose.json b/apps/nginx/docker-compose.json index a0dfed5..6cd866a 100644 --- a/apps/nginx/docker-compose.json +++ b/apps/nginx/docker-compose.json @@ -29,10 +29,16 @@ "readOnly": true } ], - "environment": { - "NGINX_HOST": "${NGINX_SERVER_NAME:-localhost}", - "TZ": "${TZ:-Europe/Paris}" - }, + "environment": [ + { + "key": "NGINX_HOST", + "value": "${NGINX_SERVER_NAME:-localhost}" + }, + { + "key": "TZ", + "value": "${TZ:-Europe/Paris}" + } + ], "healthCheck": { "test": "curl --fail http://localhost:80 || exit 1", "interval": "30s",