all-in-one/php/containers-schema.json
Simon L 117c3de7c5 add items type for secrets
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 02:45:32 +01:00

79 lines
No EOL
1.4 KiB
JSON

{
"type": "object",
"description": "AIO containers definition schema",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"services": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"minProperties": 11,
"properties": {
"image": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
},
"display_name": {
"type": "string"
},
"environment": {
"type": "array",
"items": {
"type": "string"
}
},
"container_name": {
"type": "string"
},
"internal_port": {
"type": "string"
},
"stop_grace_period": {
"type": "integer"
},
"ports": {
"type": "array",
"items": {
"type": "string"
}
},
"restart": {
"type": "string"
},
"secrets": {
"type": "array",
"items": {
"type": "string"
}
},
"volumes": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"minProperties": 3,
"properties": {
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"writeable": {
"type": "boolean"
}
}
}
}
}
}
}
}
}