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:
1 parent
eacefc0184
commit
a3aca1d937
1 file changed
+10
-4
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user