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