2022-05-09 07:47:54 +08:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"description": "AIO containers definition schema",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"minProperties": 1,
|
|
|
|
"properties": {
|
2022-12-25 07:58:09 +08:00
|
|
|
"services": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"minProperties": 11,
|
|
|
|
"properties": {
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-25 07:39:22 +08:00
|
|
|
"depends_on": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-12-25 07:55:54 +08:00
|
|
|
"display_name": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-25 07:48:24 +08:00
|
|
|
"environment": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-12-25 07:36:19 +08:00
|
|
|
"container_name": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-25 08:40:37 +08:00
|
|
|
"internal_port": {
|
|
|
|
"type": "string"
|
2022-05-09 07:47:54 +08:00
|
|
|
},
|
2022-12-25 07:50:17 +08:00
|
|
|
"stop_grace_period": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ports": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-12-25 07:52:01 +08:00
|
|
|
"restart": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"secrets": {
|
2022-12-25 09:45:32 +08:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-05-09 07:47:54 +08:00
|
|
|
},
|
|
|
|
"volumes": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"minProperties": 3,
|
|
|
|
"properties": {
|
|
|
|
"location": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"writeable": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|