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
+9 -3
+9 -3
View File
@@ -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",