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