[{"data":1,"prerenderedAt":825},["ShallowReactive",2],{"navigation":3,"-deploy-providers-flightcontrol":402,"-deploy-providers-flightcontrol-surround":820},[4,93,226,232,387,399],{"title":5,"path":6,"stem":7,"children":8,"icon":92},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77,82,87],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"OpenAPI","/docs/openapi","1.docs/50.openapi","ri:contract-line",{"title":53,"path":54,"stem":55,"icon":56},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":58,"path":59,"stem":60,"icon":61},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":63,"path":64,"stem":65,"icon":66},"WebSocket","/docs/websocket","1.docs/50.websocket","ri:broadcast-fill",{"title":68,"path":69,"stem":70,"icon":71},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":73,"path":74,"stem":75,"icon":76},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":78,"path":79,"stem":80,"icon":81},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":83,"path":84,"stem":85,"icon":86},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":88,"path":89,"stem":90,"icon":91},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":94,"path":95,"stem":96,"children":97,"icon":99},"Deploy","/deploy","2.deploy/0.index",[98,100,121],{"title":94,"path":95,"stem":96,"icon":99},"ri:upload-cloud-2-line",{"title":101,"path":102,"stem":103,"children":104,"page":120},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[105,110,115],{"title":106,"path":107,"stem":108,"icon":109},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":111,"path":112,"stem":113,"icon":114},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":116,"path":117,"stem":118,"icon":119},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":122,"path":123,"stem":124,"children":125,"page":120},"Providers","/deploy/providers","2.deploy/20.providers",[126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222],{"title":127,"path":128,"stem":129},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":131,"path":132,"stem":133},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":135,"path":136,"stem":137},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":139,"path":140,"stem":141},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":143,"path":144,"stem":145},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":147,"path":148,"stem":149},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":151,"path":152,"stem":153},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":155,"path":156,"stem":157},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":159,"path":160,"stem":161},"EdgeOne Pages","/deploy/providers/edgeone","2.deploy/20.providers/edgeone",{"title":163,"path":164,"stem":165},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":167,"path":168,"stem":169},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":171,"path":172,"stem":173},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":175,"path":176,"stem":177},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":179,"path":180,"stem":181},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":183,"path":184,"stem":185},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":187,"path":188,"stem":189},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":191,"path":192,"stem":193},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":195,"path":196,"stem":197},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":199,"path":200,"stem":201},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":203,"path":204,"stem":205},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":207,"path":208,"stem":209},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":211,"path":212,"stem":213},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":215,"path":216,"stem":217},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":219,"path":220,"stem":221},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":223,"path":224,"stem":225},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":227,"path":228,"stem":229,"children":230,"icon":36},"Config","/config","3.config/0.index",[231],{"title":227,"path":228,"stem":229,"icon":36},{"title":233,"path":234,"stem":235,"children":236,"icon":238},"Examples","/examples","4.examples/0.index",[237,239,244,249,254,259,263,268,273,278,283,288,293,297,302,306,310,315,320,325,330,335,340,345,350,355,359,364,369,373,378,383],{"title":233,"path":234,"stem":235,"icon":238},"i-lucide-folder-code",{"title":240,"path":241,"stem":242,"icon":243},"API Routes","/examples/api-routes","4.examples/api-routes","i-lucide-route",{"title":245,"path":246,"stem":247,"icon":248},"Auto Imports","/examples/auto-imports","4.examples/auto-imports","i-lucide-import",{"title":250,"path":251,"stem":252,"icon":253},"Cached Handler","/examples/cached-handler","4.examples/cached-handler","i-lucide-clock",{"title":255,"path":256,"stem":257,"icon":258},"Custom Error Handler","/examples/custom-error-handler","4.examples/custom-error-handler","i-lucide-alert-circle",{"title":38,"path":260,"stem":261,"icon":262},"/examples/database","4.examples/database","i-lucide-database",{"title":264,"path":265,"stem":266,"icon":267},"Elysia","/examples/elysia","4.examples/elysia","i-skill-icons-elysia-dark",{"title":269,"path":270,"stem":271,"icon":272},"Express","/examples/express","4.examples/express","i-simple-icons-express",{"title":274,"path":275,"stem":276,"icon":277},"Fastify","/examples/fastify","4.examples/fastify","i-simple-icons-fastify",{"title":279,"path":280,"stem":281,"icon":282},"Hello World","/examples/hello-world","4.examples/hello-world","i-lucide-sparkles",{"title":284,"path":285,"stem":286,"icon":287},"Hono","/examples/hono","4.examples/hono","i-logos-hono",{"title":289,"path":290,"stem":291,"icon":292},"Import Alias","/examples/import-alias","4.examples/import-alias","i-lucide-at-sign",{"title":294,"path":295,"stem":296,"icon":46},"Middleware","/examples/middleware","4.examples/middleware",{"title":298,"path":299,"stem":300,"icon":301},"Mono JSX","/examples/mono-jsx","4.examples/mono-jsx","i-lucide-brackets",{"title":303,"path":304,"stem":305,"icon":301},"Nano JSX","/examples/nano-jsx","4.examples/nano-jsx",{"title":53,"path":307,"stem":308,"icon":309},"/examples/plugins","4.examples/plugins","i-lucide-plug",{"title":311,"path":312,"stem":313,"icon":314},"Custom Renderer","/examples/renderer","4.examples/renderer","i-lucide-code",{"title":316,"path":317,"stem":318,"icon":319},"Runtime Config","/examples/runtime-config","4.examples/runtime-config","i-lucide-settings",{"title":321,"path":322,"stem":323,"icon":324},"Server Fetch","/examples/server-fetch","4.examples/server-fetch","i-lucide-arrow-right-left",{"title":326,"path":327,"stem":328,"icon":329},"Shiki","/examples/shiki","4.examples/shiki","i-lucide-highlighter",{"title":331,"path":332,"stem":333,"icon":334},"Virtual Routes","/examples/virtual-routes","4.examples/virtual-routes","i-lucide-box",{"title":336,"path":337,"stem":338,"icon":339},"Vite Nitro Plugin","/examples/vite-nitro-plugin","4.examples/vite-nitro-plugin","i-logos-vitejs",{"title":341,"path":342,"stem":343,"icon":344},"Vite RSC","/examples/vite-rsc","4.examples/vite-rsc","i-logos-react",{"title":346,"path":347,"stem":348,"icon":349},"Vite SSR HTML","/examples/vite-ssr-html","4.examples/vite-ssr-html","i-logos-html-5",{"title":351,"path":352,"stem":353,"icon":354},"SSR with Preact","/examples/vite-ssr-preact","4.examples/vite-ssr-preact","i-logos-preact",{"title":356,"path":357,"stem":358,"icon":344},"SSR with React","/examples/vite-ssr-react","4.examples/vite-ssr-react",{"title":360,"path":361,"stem":362,"icon":363},"SSR with SolidJS","/examples/vite-ssr-solid","4.examples/vite-ssr-solid","i-logos-solidjs-icon",{"title":365,"path":366,"stem":367,"icon":368},"SSR with TanStack Router","/examples/vite-ssr-tsr-react","4.examples/vite-ssr-tsr-react","i-simple-icons-tanstack",{"title":370,"path":371,"stem":372,"icon":368},"SSR with TanStack Start","/examples/vite-ssr-tss-react","4.examples/vite-ssr-tss-react",{"title":374,"path":375,"stem":376,"icon":377},"SSR with Vue Router","/examples/vite-ssr-vue-router","4.examples/vite-ssr-vue-router","i-logos-vue",{"title":379,"path":380,"stem":381,"icon":382},"Vite + tRPC","/examples/vite-trpc","4.examples/vite-trpc","i-simple-icons-trpc",{"title":63,"path":384,"stem":385,"icon":386},"/examples/websocket","4.examples/websocket","i-lucide-radio",{"title":388,"path":389,"stem":390,"children":391},"Blog","/blog","9.blog",[392,395],{"title":388,"path":389,"stem":393,"icon":394},"9.blog/index","i-lucide-file-text",{"title":396,"path":397,"stem":398,"icon":394},"Nitro v3 Beta is here!","/blog/v3-beta","9.blog/1.v3-beta",{"title":5,"path":400,"stem":401},"/","index",{"id":403,"title":167,"body":404,"description":814,"extension":815,"meta":816,"navigation":817,"path":168,"seo":818,"stem":169,"__hash__":819},"content/2.deploy/20.providers/flightcontrol.md",{"type":405,"value":406,"toc":807},"minimark",[407,419,424,429,432,467,472,493,499,514,787,793,803],[408,409,410,414,415],"p",{},[411,412,413],"strong",{},"Preset:"," ",[416,417,418],"code",{},"flightcontrol",[420,421],"read-more",{"to":422,"title":423},"https://flightcontrol.dev?ref=nitro","flightcontrol.dev",[425,426,428],"h2",{"id":427},"set-up-your-flightcontrol-account","Set Up your flightcontrol account",[408,430,431],{},"On a high level, the steps you will need to follow to deploy a project for the first time are:",[433,434,436,446,454,457,460],"steps",{"level":435},"4",[437,438,439,440],"h4",{},"Create an account at ",[441,442,167],"a",{"href":443,"rel":444},"https://app.flightcontrol.dev/signup?ref=nitro",[445],"nofollow",[437,447,439,448,453],{},[441,449,452],{"href":450,"rel":451},"https://portal.aws.amazon.com/billing/signup",[445],"AWS"," (if you don't already have one)",[437,455,456],{},"Link your AWS account to the Flightcontrol",[437,458,459],{},"Authorize the Flightcontrol GitHub App to access your chosen repositories, public or private.",[437,461,462,463,466],{},"Create a Flightcontrol project with configuration via the Dashboard or with configuration via ",[416,464,465],{},"flightcontrol.json",".",[468,469,471],"h3",{"id":470},"create-a-project-with-configuration-via-the-dashboard","Create a project with configuration via the dashboard",[433,473,474,477,484,487,490],{"level":435},[437,475,476],{},"Create a Flightcontrol project from the Dashboard. Select a repository for the source.",[437,478,479,480,483],{},"Select the ",[416,481,482],{},"GUI"," config type.",[437,485,486],{},"Select the Nuxt preset. This preset will also work for any Nitro-based applications.",[437,488,489],{},"Select your preferred AWS server size.",[437,491,492],{},"Submit the new project form.",[468,494,496,497],{"id":495},"create-a-project-with-configuration-via-flightcontroljson","Create a project with configuration via ",[416,498,465],{},[433,500,501,504,508],{"level":435},[437,502,503],{},"Create a Flightcontrol project from your dashboard. Select a repository for the source.",[437,505,479,506,483],{},[416,507,465],{},[437,509,510,511,513],{},"Add a new file at the root of your repository called ",[416,512,465],{},". Here is an example configuration that creates an AWS fargate service for your app:",[515,516,520],"pre",{"className":517,"code":518,"filename":465,"language":519,"meta":5,"style":5},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"$schema\": \"https://app.flightcontrol.dev/schema.json\",\n  \"environments\": [\n    {\n      \"id\": \"production\",\n      \"name\": \"Production\",\n      \"region\": \"us-west-2\",\n      \"source\": {\n        \"branch\": \"main\"\n      },\n      \"services\": [\n        {\n          \"id\": \"nitro\",\n          \"buildType\": \"nixpacks\",\n          \"name\": \"My Nitro site\",\n          \"type\": \"fargate\",\n          \"domain\": \"www.yourdomain.com\",\n          \"outputDirectory\": \".output\",\n          \"startCommand\": \"node .output/server/index.mjs\",\n          \"cpu\": 0.25,\n          \"memory\": 0.5\n        }\n      ]\n    }\n  ]\n}\n","json",[416,521,522,531,548,557,563,576,589,602,611,622,628,636,642,655,668,681,694,707,720,733,746,757,763,769,775,781],{"__ignoreMap":5},[523,524,527],"span",{"class":525,"line":526},"line",1,[523,528,530],{"class":529},"slsVL","{\n",[523,532,534,538,541,545],{"class":525,"line":533},2,[523,535,537],{"class":536},"suiK_","  \"$schema\"",[523,539,540],{"class":529},": ",[523,542,544],{"class":543},"sfrk1","\"https://app.flightcontrol.dev/schema.json\"",[523,546,547],{"class":529},",\n",[523,549,551,554],{"class":525,"line":550},3,[523,552,553],{"class":536},"  \"environments\"",[523,555,556],{"class":529},": [\n",[523,558,560],{"class":525,"line":559},4,[523,561,562],{"class":529},"    {\n",[523,564,566,569,571,574],{"class":525,"line":565},5,[523,567,568],{"class":536},"      \"id\"",[523,570,540],{"class":529},[523,572,573],{"class":543},"\"production\"",[523,575,547],{"class":529},[523,577,579,582,584,587],{"class":525,"line":578},6,[523,580,581],{"class":536},"      \"name\"",[523,583,540],{"class":529},[523,585,586],{"class":543},"\"Production\"",[523,588,547],{"class":529},[523,590,592,595,597,600],{"class":525,"line":591},7,[523,593,594],{"class":536},"      \"region\"",[523,596,540],{"class":529},[523,598,599],{"class":543},"\"us-west-2\"",[523,601,547],{"class":529},[523,603,605,608],{"class":525,"line":604},8,[523,606,607],{"class":536},"      \"source\"",[523,609,610],{"class":529},": {\n",[523,612,614,617,619],{"class":525,"line":613},9,[523,615,616],{"class":536},"        \"branch\"",[523,618,540],{"class":529},[523,620,621],{"class":543},"\"main\"\n",[523,623,625],{"class":525,"line":624},10,[523,626,627],{"class":529},"      },\n",[523,629,631,634],{"class":525,"line":630},11,[523,632,633],{"class":536},"      \"services\"",[523,635,556],{"class":529},[523,637,639],{"class":525,"line":638},12,[523,640,641],{"class":529},"        {\n",[523,643,645,648,650,653],{"class":525,"line":644},13,[523,646,647],{"class":536},"          \"id\"",[523,649,540],{"class":529},[523,651,652],{"class":543},"\"nitro\"",[523,654,547],{"class":529},[523,656,658,661,663,666],{"class":525,"line":657},14,[523,659,660],{"class":536},"          \"buildType\"",[523,662,540],{"class":529},[523,664,665],{"class":543},"\"nixpacks\"",[523,667,547],{"class":529},[523,669,671,674,676,679],{"class":525,"line":670},15,[523,672,673],{"class":536},"          \"name\"",[523,675,540],{"class":529},[523,677,678],{"class":543},"\"My Nitro site\"",[523,680,547],{"class":529},[523,682,684,687,689,692],{"class":525,"line":683},16,[523,685,686],{"class":536},"          \"type\"",[523,688,540],{"class":529},[523,690,691],{"class":543},"\"fargate\"",[523,693,547],{"class":529},[523,695,697,700,702,705],{"class":525,"line":696},17,[523,698,699],{"class":536},"          \"domain\"",[523,701,540],{"class":529},[523,703,704],{"class":543},"\"www.yourdomain.com\"",[523,706,547],{"class":529},[523,708,710,713,715,718],{"class":525,"line":709},18,[523,711,712],{"class":536},"          \"outputDirectory\"",[523,714,540],{"class":529},[523,716,717],{"class":543},"\".output\"",[523,719,547],{"class":529},[523,721,723,726,728,731],{"class":525,"line":722},19,[523,724,725],{"class":536},"          \"startCommand\"",[523,727,540],{"class":529},[523,729,730],{"class":543},"\"node .output/server/index.mjs\"",[523,732,547],{"class":529},[523,734,736,739,741,744],{"class":525,"line":735},20,[523,737,738],{"class":536},"          \"cpu\"",[523,740,540],{"class":529},[523,742,743],{"class":536},"0.25",[523,745,547],{"class":529},[523,747,749,752,754],{"class":525,"line":748},21,[523,750,751],{"class":536},"          \"memory\"",[523,753,540],{"class":529},[523,755,756],{"class":536},"0.5\n",[523,758,760],{"class":525,"line":759},22,[523,761,762],{"class":529},"        }\n",[523,764,766],{"class":525,"line":765},23,[523,767,768],{"class":529},"      ]\n",[523,770,772],{"class":525,"line":771},24,[523,773,774],{"class":529},"    }\n",[523,776,778],{"class":525,"line":777},25,[523,779,780],{"class":529},"  ]\n",[523,782,784],{"class":525,"line":783},26,[523,785,786],{"class":529},"}\n",[788,789,790],"ol",{"start":559},[791,792,492],"li",{},[420,794,796],{"to":795},"https://www.flightcontrol.dev/docs?ref=nitro",[408,797,798,799,466],{},"Learn more about Flightcontrol's ",[441,800,802],{"href":795,"rel":801},[445],"configuration",[804,805,806],"style",{},"html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":5,"searchDepth":533,"depth":533,"links":808},[809],{"id":427,"depth":533,"text":428,"children":810},[811,812],{"id":470,"depth":550,"text":471},{"id":495,"depth":550,"text":813},"Create a project with configuration via flightcontrol.json","Deploy Nitro apps to AWS via Flightcontrol.","md",{},{},{"title":167,"description":814},"GMb7cNlNs9-JV9rXWmy2tvQ89Wfi_3ADfdJezTchfSQ",[821,823],{"title":163,"path":164,"stem":165,"description":822,"children":-1},"Deploy Nitro apps to Firebase.",{"title":171,"path":172,"stem":173,"description":824,"children":-1},"Deploy Nitro apps to Genezio.",1776367078801]