2022-05-09 07:47:54 +08:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"description": "AIO containers definition schema",
|
|
|
|
"minProperties": 1,
|
2022-12-31 06:49:54 +08:00
|
|
|
"required": ["aio_services_v1"],
|
2022-05-09 07:47:54 +08:00
|
|
|
"properties": {
|
2022-12-31 06:49:54 +08:00
|
|
|
"aio_services_v1": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2022-12-26 09:24:38 +08:00
|
|
|
"minProperties": 2,
|
|
|
|
"required": ["image", "container_name"],
|
2022-05-09 07:47:54 +08:00
|
|
|
"properties": {
|
2022-12-25 07:43:26 +08:00
|
|
|
"image": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-02-02 22:11:40 +08:00
|
|
|
"expose": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2023-03-06 18:36:36 +08:00
|
|
|
"cap_add": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"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": {
|
2022-12-26 00:08:41 +08:00
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"minProperties": 3,
|
|
|
|
"properties": {
|
|
|
|
"ip_binding": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"port_number": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"protocol": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
2022-05-09 07:47:54 +08:00
|
|
|
}
|
|
|
|
},
|
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
|
|
|
},
|
2023-01-03 09:01:03 +08:00
|
|
|
"devices": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-05-09 07:47:54 +08:00
|
|
|
"volumes": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"minProperties": 3,
|
|
|
|
"properties": {
|
2022-12-31 05:56:37 +08:00
|
|
|
"destination": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-31 05:56:37 +08:00
|
|
|
"source": {
|
2022-05-09 07:47:54 +08:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"writeable": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|