Sfoglia il codice sorgente

Add sysctls option to 3.0 schema

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 8 anni fa
parent
commit
eb6441c8e3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      compose/config/config_schema_v3.0.json

+ 1 - 0
compose/config/config_schema_v3.0.json

@@ -167,6 +167,7 @@
         "restart": {"type": "string"},
         "security_opt": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
         "shm_size": {"type": ["number", "string"]},
+        "sysctls": {"$ref": "#/definitions/list_or_dict"},
         "stdin_open": {"type": "boolean"},
         "stop_signal": {"type": "string"},
         "stop_grace_period": {"type": "string", "format": "duration"},