diff --git a/site/site/public/schemas/fly.toml.json b/site/site/public/schemas/fly.toml.json index 09433fe9d..90efeba7a 100644 --- a/site/site/public/schemas/fly.toml.json +++ b/site/site/public/schemas/fly.toml.json @@ -8,6 +8,66 @@ }, "type": "object", "properties": { + "vm": { + "type": "array", + "items": { + "type": "object", + "properties": { + "size": { + "type": "string", + "enum": [ + "shared-cpu-1x", + "shared-cpu-2x", + "shared-cpu-4x", + "shared-cpu-8x", + "performance-1x", + "performance-2x", + "performance-4x", + "performance-8x", + "performance-16x" + ] + }, + "memory": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "cpus": { + "type": "integer", + "enum": [1, 2, 4, 8, 16] + }, + "cpu_kind": { + "type": "string", + "enum": ["shared", "performance"] + }, + "gpus": { + "type": "integer", + "enum": [1, 2, 4, 8] + }, + "gpu_kind": { + "type": "string", + "enum": ["a10", "a100-40gb", "a100-80gb", "l40s"] + }, + "kernel_args": { + "type": "string" + }, + "host_dedication_id": { + "type": "string" + }, + "processes": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, "app": { "description": "Fly.io application name", "type": "string" @@ -79,30 +139,30 @@ "concurrency": { "type": "object", "description": "Control autoscaling metrics (connections or requests) and limits (hard and soft).", - "properties": { - "type": { - "type": "string", - "default": "connections", - "x-taplo": { - "docs": { - "enumValues": [ - "Autoscale based on number of concurrent connections", - "Autoscale based on number of concurrent requests" - ] - } - }, - "enum": ["connections", "requests"] - }, - "hard_limit": { - "default": 25, - "type": "integer", - "description": "When an application instance is __at__ or __over__ this number, the system will bring up another instance." + "properties": { + "type": { + "type": "string", + "default": "connections", + "x-taplo": { + "docs": { + "enumValues": [ + "Autoscale based on number of concurrent connections", + "Autoscale based on number of concurrent requests" + ] + } }, - "soft_limit": { - "default": 20, - "type": "integer", - "description": "When an application instance is __at__ or __over__ this number, the system is likely to bring up another instance." - } + "enum": ["connections", "requests"] + }, + "hard_limit": { + "default": 25, + "type": "integer", + "description": "When an application instance is __at__ or __over__ this number, the system will bring up another instance." + }, + "soft_limit": { + "default": 20, + "type": "integer", + "description": "When an application instance is __at__ or __over__ this number, the system is likely to bring up another instance." + } } }, "ports": {