fix(nginx): environment au format tableau attendu par Runtipi
Test / test (push) Canceled after 0s

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.
This commit is contained in:
Guillaume committed 2026-10-21 09:29:41 +00:00
1 parent eacefc0184
commit a3aca1d937
1 file changed
+10 -4
+10 -4
View File
@@ -29,10 +29,16 @@
"readOnly": true "readOnly": true
} }
], ],
"environment": { "environment": [
"NGINX_HOST": "${NGINX_SERVER_NAME:-localhost}", {
"TZ": "${TZ:-Europe/Paris}" "key": "NGINX_HOST",
}, "value": "${NGINX_SERVER_NAME:-localhost}"
},
{
"key": "TZ",
"value": "${TZ:-Europe/Paris}"
}
],
"healthCheck": { "healthCheck": {
"test": "curl --fail http://localhost:80 || exit 1", "test": "curl --fail http://localhost:80 || exit 1",
"interval": "30s", "interval": "30s",